Learn R Programming

statgenGxE (version 1.0.9)

vc: Extract variance components

Description

Extract variance components from an object of class varComp.

Usage

vc(varComp)

Value

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

Arguments

varComp

An object of class varComp.

See Also

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

Examples

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

## Extract variance components.
vc(geVarComp)

Run the code above in your browser using DataLab