Learn R Programming

sommer (version 3.6)

vctable: vctable functionality

Description

This function creates a table of random effects for a multi trait model to be used internally for the mmer and mmer2 function to map the variance components.

Usage

vctable(ts,nz,nr)

Arguments

ts

number of traits.

nz

number of random effects.

nr

number of residual structures.

Value

all3

table of variance-covariance components for each trait.

References

Covarrubias-Pazaran G (2016) Genome assisted prediction of quantitative traits using the R package sommer. PLoS ONE 11(6): doi:10.1371/journal.pone.0156744

See Also

The core functions of the package mmer and mmer2

Examples

Run this code
# NOT RUN {
vctable(2,3,1)
# }

Run the code above in your browser using DataLab