Learn R Programming

statgenGxE (version 1.0.9)

fitted.FW: Extract fitted values.

Description

Extract the fitted values for a fitted Finlay-Wilkinson model.

Usage

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

Value

A data.frame with fitted values.

Arguments

object

An object of class FW

...

Not used.

See Also

Other Finlay-Wilkinson: gxeFw(), plot.FW(), report.FW(), residuals.FW()

Examples

Run this code
## Run Finlay-Wilkinson analysis.
geFW <- gxeFw(TD = TDMaize, trait = "yld")

## Extract fitted values.
fitFW <- fitted(geFW)
head(fitFW)

Run the code above in your browser using DataLab