fitted.varCov {statgenGxE} | R Documentation |
Extract fitted values.
Description
Extract the fitted values for an object of class varCov.
Usage
## S3 method for class 'varCov'
fitted(object, ...)
Arguments
object |
An object of class varCov |
... |
Not used. |
Value
A data.frame with fitted values.
See Also
Other varCov:
gxeVarCov()
,
plot.varCov()
,
report.varCov()
,
residuals.varCov()
Examples
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)
}
[Package statgenGxE version 1.0.8 Index]