powered by
Get variance component estimates from a fitted lme object.
lme
varcomp(x, scale = FALSE, cum = FALSE)
A fitted lme object
Scale all variance so that they sum to 1
Send cumulative variance components.
A named vector of class varcomp with estimated variance components.
varcomp
Variance computations is done as in Venables and Ripley (2002).
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S (Fourth Edition). New York: Springer-Verlag.
# NOT RUN { data(carnivora) library(nlme) m <- lme(log10(SW) ~ 1, random = ~ 1|Order/SuperFamily/Family/Genus, data=carnivora) v <- varcomp(m, TRUE, TRUE) plot(v) # }
Run the code above in your browser using DataLab