residuals.varCov | R Documentation |
Extract the residuals for the best model.
## S3 method for class 'varCov'
residuals(object, ...)
object |
An object of class varCov |
... |
Not used. |
A data.frame with residuals.
Other varCov:
fitted.varCov()
,
gxeVarCov()
,
plot.varCov()
,
report.varCov()
## 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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.