Clear Filters
Clear Filters

How can I write ANOVA results to a csv file?

26 views (last 30 days)
I want to write results from an ANOVA to a csv file, but writetable() gives me this error.
Unrecognized field name "internal.stats.DoubleTableColumnReal".
I am using the example from the ranova() documentation
load fisheriris
t = table(species,meas(:,1),meas(:,2),meas(:,3),meas(:,4),...
Meas = table([1 2 3 4]','VariableNames',{'Measurements'});
rm = fitrm(t,'meas1-meas4~species','WithinDesign',Meas);
ranovatbl = ranova(rm)

Accepted Answer

cr on 21 Nov 2022
Edited: cr on 21 Nov 2022
Don't understand whats causing the problem, but the below line works
Really strange. Looking forward to an explanation from experts/staff if this is a bug.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!