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.
vctable(ts,nz,nr)
number of traits.
number of random effects.
number of residual structures.
table of variance-covariance components for each trait.
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
# NOT RUN {
vctable(2,3,1)
# }
Run the code above in your browser using DataLab