Skip to content
Prev 44606 / 398528 Next

A question on lme in R

Zonghui Hu <zhu at stat.tamu.edu> writes:
It is better to use the extractor functions fixef (or fixed.effects)
and ranef (of random.effects) to extract the estimated coefficients.
You should not depend on a particular internal representation of the
object returned from a model-fitting function.  For example, objects
returned by the version of lme in the lme4 package uses a different
internal representation.

As indicated in the output from
 help(package = "nlme")
the function VarCorr returns the variance and correlation components.