How can I write ANOVA results to a csv file?
13 次查看(过去 30 天)
显示 更早的评论
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),...
'VariableNames',{'species','meas1','meas2','meas3','meas4'});
Meas = table([1 2 3 4]','VariableNames',{'Measurements'});
rm = fitrm(t,'meas1-meas4~species','WithinDesign',Meas);
ranovatbl = ranova(rm)
writetable(ranovatbl,'test_table.txt')
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Analysis of Variance and Covariance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!