# \donttest{
if (requireNamespace("asreml", quietly = TRUE)) {
## Select the best variance-covariance model using asreml for modeling.
geVarCov <- gxeVarCov(TD = TDMaize, trait = "yld", engine = "asreml")
## Create a heatmap of the correlation matrix for the best model.
plot(geVarCov)
}
# }
Run the code above in your browser using DataLab