Skip to contents

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

Usage

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

Arguments

object

An object of class FW

...

Not used.

Value

A data.frame with fitted values.

See also

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

Examples

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

## Extract fitted values.
fitFW <- fitted(geFW)
head(fitFW)
#>   trial genotype fittedValue seFittedValue
#> 1 HN96b     G001   542.08526      36.14586
#> 2 IS92a     G001   735.82041      43.17100
#> 3 IS94a     G001   467.08089      36.28094
#> 4 LN96a     G001   175.25296      50.51774
#> 5 LN96b     G001    59.50501      59.74921
#> 6 NS92a     G001  1246.54831      85.77821