Learn R Programming

statgenGxE (version 1.0.2)

residuals.FW: Extract residuals.

Description

Extract the residuals for a fitted Finlay-Wilkinson model.

Usage

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

Arguments

object

An object of class FW

...

Not used.

Value

A data.frame with residuals.

See Also

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

Examples

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

## Extract residuals.
residFW <- residuals(geFW)
head(residFW)

# }

Run the code above in your browser using DataLab