residuals.AMMI | R Documentation |
Extract the residuals for the fitted AMMI model.
## S3 method for class 'AMMI'
residuals(object, ...)
object |
An object of class AMMI |
... |
Not used. |
A data.frame with residuals.
Other AMMI:
fitted.AMMI()
,
gxeAmmi()
,
plot.AMMI()
,
report.AMMI()
## Run AMMI analysis on TDMaize.
geAmmi <- gxeAmmi(TD = TDMaize, trait = "yld")
## Extract residuals.
residAmmi <- residuals(geAmmi)
head(residAmmi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.