grpstats Duplicate table row name: error
Mostra commenti meno recenti
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
Risposte (0)
Categorie
Scopri di più su Repeated Measures and MANOVA in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!