Compute Variance Component Estimates
Get variance component estimates from a fitted
varcomp(x, scale = FALSE, cum = FALSE)
- A fitted
- Scale all variance so that they sum to 1
- Send cumulative variance components.
Variance computations is done as in Venables and Ripley's book.
- A named vector of class
varcompwith estimated variance components.
Venables, W. N. and Ripley, B. D. (2002) Modern applied statistics with S (fourth edition). New York: Springer-Verlag.
data(carnivora) m <- lme(log10(SW) ~ 1, random = ~ 1|Order/SuperFamily/Family/Genus, data=carnivora) v <- varcomp(m, TRUE, TRUE) plot(v)
Looks like there are no examples yet.