fitted.AMMI {statgenGxE}R Documentation

Extract fitted values.

Description

Extract the fitted values for an object of class AMMI.

Usage

## S3 method for class '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 AMMI analysis on TDMaize.
geAmmi <- gxeAmmi(TD = TDMaize, trait = "yld")

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


[Package statgenGxE version 1.0.8 Index]