Learn R Programming

statgenGxE (version 1.0.2)

vc: Extract variance components

Description

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

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

## Extract variance components.
vc(geVarComp)

# }

Run the code above in your browser using DataLab