Learn R Programming

statgenGxE (version 1.0.2)

fitted.AMMI: Extract fitted values.

Description

Extract the fitted values for an object of class AMMI.

Usage

# S3 method for AMMI
fitted(object, ...)

Arguments

object

An object of class AMMI

...

Not used.

Value

A data.frame with fitted values.

See Also

Other AMMI: gxeAmmi(), plot.AMMI(), report.AMMI(), residuals.AMMI()

Examples

Run this code
# NOT RUN {
## Run AMMI analysis on TDMaize.
geAmmi <- gxeAmmi(TD = TDMaize, trait = "yld")

## Extract fitted values.
fitAmmi <- fitted(geAmmi)
head(fitAmmi)

# }

Run the code above in your browser using DataLab