# \donttest{
if (requireNamespace("asreml", quietly = TRUE)) {
## Select the best variance-covariance model using asreml for modeling.
geVarCov <- gxeVarCov(TD = TDMaize, trait = "yld", engine = "asreml")
## Extract fitted values from the model.
fitVarCov <- fitted(geVarCov)
head(fitVarCov)
}
# }
Run the code above in your browser using DataLab