# varcomp

From ape v3.0-2
by Emmanuel Paradis

##### Compute Variance Component Estimates

Get variance component estimates from a fitted `lme`

object.

- Keywords
- regression, dplot

##### Usage

`varcomp(x, scale = FALSE, cum = FALSE)`

##### Details

Variance computations is done as in Venables and Ripley's book.

##### Value

A named vector of class `varcomp`

with estimated variance components.

##### References

Venables, W. N. and Ripley, B. D. (2002) *Modern applied statistics
with S (fourth edition)*. New York: Springer-Verlag.

##### See Also

##### Examples

```
data(carnivora)
library(nlme)
m <- lme(log10(SW) ~ 1, random = ~ 1|Order/SuperFamily/Family/Genus, data=carnivora)
v <- varcomp(m, TRUE, TRUE)
plot(v)
```

*Documentation reproduced from package ape, version 3.0-2, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.