Extract the residuals for the best model.
Usage
# S3 method for class 'varCov'
residuals(object, ...)
See also
Other varCov:
fitted.varCov()
,
gxeVarCov()
,
plot.varCov()
,
report.varCov()
Examples
# \donttest{
## Select the best variance-covariance model using asreml for modeling.
if (requireNamespace("asreml", quietly = TRUE)) {
geVarCov <- gxeVarCov(TD = TDMaize, trait = "yld", engine = "asreml")
## Extract residuals from the model.
residVarCov <- residuals(geVarCov)
head(residVarCov)
}
# }