Forum: help


RE: anovaBF - "Nonfactors are specified as random" [ Reply ] By: Mary Diggs on 2015-05-03 08:16 | [forum:42433] |
Thank you - that worked perfectly! Sorry to trouble you with something so trivial, but your help was greatly appreciated. Mary |
RE: anovaBF - "Nonfactors are specified as random" [ Reply ] By: Richard Morey on 2015-04-27 13:56 | [forum:42200] |
Hi Mary, You need to specify ID as a factor before running the anovaBF function: something like: mydata$ID = factor(mydata$ID) and then it should work. |
anovaBF - "Nonfactors are specified as random" [ Reply ] By: Mary Diggs on 2015-04-24 21:34 | [forum:42199] |
I was wondering whether someone was able to point me in the right direction. I'm running the anovaBF in R - it's a 3x2x2 ANOVA (so slightly different from the puzzles example). I've put my data into a .csv file in a similar format to the data in the sample file puzzles. When I run the anovaBF in R with our data: bf = anovaBF(Mean ~ 1*2*3 + ID, data = mydata, whichRandom="ID") I get an error message that "Nonfactors are specified as random". I can make it run only if I exclude the "+ ID". Is anyone able to suggest what I might be doing to get the "Nonfactors are specified as random" error, and/or how I might fix it? Thanks in advance for your help, Mary |