Re: [R] How to do ANOVA with fractional values and overcome the error: Error in `storage.mode<-`(`*tmp*`, value = "double") : invalid to change the storage mode of a factor

2007-09-06 Thread Prof Brian Ripley
Your data file has commas as the decimal point. Use read.csv2 for such files. What happened was that PercentError was read as a factor, and you can't do ANOVA on factors. The warning > In addition: Warning message: > using type="numeric" with a factor response will be ignored in: > model.respo

[R] How to do ANOVA with fractional values and overcome the error: Error in `storage.mode<-`(`*tmp*`, value = "double") : invalid to change the storage mode of a factor

2007-09-06 Thread Emre Sevinc
I have exported a CSV file from my EXCEL worksheet and its last column contained decimal values: Subject;Group;Side;Difference;PercentError M3;1;1;; M5;1;1;375;18,75 M8;1;1;250;14,58 M10;1;1;500;12,50 M12;1;1;375;25,00 . . . When I tried to do ANOVA test on it, R complained by givin error: > A