Compute Variance Component Estimates
Get variance component estimates from a fitted lme
object.
varcomp(x, scale = FALSE, cum = FALSE)
x |
A fitted |
scale |
Scale all variance so that they sum to 1 |
cum |
Send cumulative variance components. |
Variance computations is done as in Venables and Ripley (2002).
A named vector of class varcomp
with estimated variance components.
Julien Dutheil dutheil@evolbio.mpg.de
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S (Fourth Edition). New York: Springer-Verlag.
data(carnivora) library(nlme) m <- lme(log10(SW) ~ 1, random = ~ 1|Order/SuperFamily/Family/Genus, data=carnivora) v <- varcomp(m, TRUE, TRUE) plot(v)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.