This function implements G-BLUP using rrBLUP library. Not to be exported.
phenoRegressor.rrBLUP.G(phenotypes, covariances, extraCovariates = NULL, ...)
The function returns a list with the following fields:
predictions
: an array of (k) predicted phenotypes
hyperparams
: named vector with the following keys: Vu, Ve, beta, LL
extradata
: list with information on trained model, coming from mixed.solve
phenotypes, a numeric array (n x 1), missing values are predicted
square matrix (n x n) of covariances.
optional extra covariates set, one row per phenotype (n), one column per covariate (w). If NULL no extra covariates are considered.
extra parameters are passed to rrBLUP::mixed.solve