residuals.AMMI {statgenGxE} | R Documentation |
Extract residuals.
Description
Extract the residuals for the fitted AMMI model.
Usage
## S3 method for class 'AMMI'
residuals(object, ...)
Arguments
object |
An object of class AMMI |
... |
Not used. |
Value
A data.frame with residuals.
See Also
Other AMMI:
fitted.AMMI()
,
gxeAmmi()
,
plot.AMMI()
,
report.AMMI()
Examples
## Run AMMI analysis on TDMaize.
geAmmi <- gxeAmmi(TD = TDMaize, trait = "yld")
## Extract residuals.
residAmmi <- residuals(geAmmi)
head(residAmmi)
[Package statgenGxE version 1.0.8 Index]