Displaying 1 result from an estimated 1 matches for "lmemodel".
Did you mean:
lmermodel
2005 Jan 26
1
Specification of factorial random-effects model
...51.85,
64.5,63.6,65.19,55.07,50.26,53.73,54.57,47.8,48.8,91.56,
94.49,92.17,82.14,83.16,81.31,83.58,78.63,77.08,60.53,
60.79,58.57,51.28,52.9,51.54,49.15,48.97,51.61,59.44,
60.07,60.07,51.94,52.2,50.2,49.45,50.75,49.56)
anovamodel <- aov(y ~ c + Error(a*b))
summary(anovamodel)
lmemodel <- lme(y ~ c, random = ~ 1|a*b)
anova(lmemodel)
N.B. You have to load the package 'nlme' before lme() will run at all.
When it does run, it gives the error
Error in getGroups.data.frame(dataMix, groups) :
Invalid formula for groups
I think there is something I have...