[R] Problem with qualitative variables in anova
ppoulimen at gmail.com
Fri Apr 29 16:43:12 CEST 2011
I am newbie in R programming and I need some help.
I have two columns the first has 1000 values Y/N/U and the other has f/m.
Like that :
I want to do one way anova parametric and no parametric.
But I have some problems.
frameq7 <- data.frame(q7,sex)
r <- aov(q7 ~ sex, data = frameq7)
Error in storage.mode(y) <- "double" :
invalid to change the storage mode of a factor
In addition: Warning message:
In model.response(mf, "numeric") :
using type="numeric" with a factor response will be ignored
Could you help me please to make it wright ?
And finally how can I present this analysis ? with boxplot ?
Thanks a lot
View this message in context: http://r.789695.n4.nabble.com/Problem-with-qualitative-variables-in-anova-tp3483845p3483845.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help