vc: Extract variance components

View source: R/createVarComp.R

vcR Documentation

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

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

## Extract variance components.
vc(geVarComp)


statgenGxE documentation built on May 29, 2024, 1:30 a.m.