[R] extract variance components
Dieter Menne
dieter.menne at menne-biomed.de
Fri Aug 29 09:23:52 CEST 2008
huang min <minhuangr <at> gmail.com> writes:
> I would like to extract the variance components estimation in lme function
> like
>
> a.fit<-lme(distance~age, data=aaa, random=~day/subject)
>
Try
VarCor(a.fit)
Using lme for the type of problems you have is just fine; in many respects, lme4
currently is a welcome complement rather than a replacement of nlme/lme.
Dieter
More information about the R-help
mailing list