Reliability
r2.RdCalculates the reliability of BLUPs in a sommer model.
Value
- result
a list with as many elements as random effects fitted containing reliabilities for individual BLUPs.
References
Mrode, R. A. (2014). Linear models for the prediction of animal breeding values. Cabi.
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
mmes – the core function of the package
Examples
####=========================================####
#### Example population
####=========================================####
data(DT_example, package="enhancer")
DT <- DT_example
head(DT)
ans1 <- mmes(Yield~Env,
random= ~ Name + Env:Name,
rcov= ~ units,
data=DT)
ans1 <- postPEV(ans1, mode = 1)
rel=r2(ans1)