Closed js1551 closed 8 years ago
bf = anovaBF(R~Condition*Handedness + Subject, whichRandom = "Subject", data = master, whichModels = "withmain", iterations = 100000)
I'm trying to run this analysis, but I keep getting this error message:
Error in createDataTypes(formula, whichRandom, data, analysis = "anova") : Nonfactors are specified as random.
Any suggestions??
The column "Subject" in your data frame must be defined as a factor (I guess it's a numeric variable at the moment).
Closing this up.
bf = anovaBF(R~Condition*Handedness + Subject, whichRandom = "Subject", data = master, whichModels = "withmain", iterations = 100000)
I'm trying to run this analysis, but I keep getting this error message:
Error in createDataTypes(formula, whichRandom, data, analysis = "anova") : Nonfactors are specified as random.
Any suggestions??