Skip to contents

Extract variance components from an object of class varComp.

Usage

vc(varComp)

Arguments

varComp

An object of class varComp.

Value

A data.frame with variance components and standard errors for the random components in the fitted model.

See also

Other Mixed model analysis: CRDR(), correlations(), diagnostics(), gxeVarComp(), herit(), plot.varComp(), predict.varComp()

Examples

## Fit a mixed model.
geVarComp <- gxeVarComp(TD = TDMaize, trait = "yld")

## Extract variance components.
vc(geVarComp)
#>           Component
#> genotype    6670.93
#> residuals  12446.94