search for: firstgo

Displaying 1 result from an estimated 1 matches for "firstgo".

Did you mean: first
2006 Aug 09
1
nested ANOVA using lme
...he model is unbalanced and I want to calculate estimates of the variance components. In this case the REML approach should give more reliable estimates than the method I have used. But I am unable to work out how to specify a nested factor using the "lme" function. I have tried: >firstgo<-lme(Diam~Env+Env:Site,data=environ) >secondgo<-lme(Diam~Env+Env%in%Site,data=environ) >thirdgo<-lme(Diam~Env+Env/Site,data=environ) But I keep getting this error: Error in getGroups.data.frame(dataMix, groups) : Invalid formula for groups If anyone could help me with code for...