grpstats Duplicate table row name: error

I have loaded the lending club loan data set into a table and i wanted to group the data based on the employment data.
my code:
statarray = grpstats(mytable,'emp_title', 'mean', 'DataVars',{'loan_amnt','int_rate', 'annual_inc'})
But I get the following error:
Error using table (line 326)
Duplicate table row name: 'VP, Human Resources'.
Error in dsgrpstats (line 378)
b = table(b_data{:},'VariableNames',varnames,'RowNames',b_obsnames);
Error in grpstats (line 144)
[varargout{1:nargout}] = dsgrpstats(x,group,whichstats,varargin{:});
I dont understand the issue.
Can someone help me

답변 (0개)

카테고리

도움말 센터File Exchange에서 Repeated Measures and MANOVA에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2019년 11월 25일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by