Description
fitted.asreml extracts fitted values from an asreml object.
Usage
## S3 method for class 'asreml'
fitted(object, type = c("response", "link"), ...)
Arguments
object |
An asreml object. |
type |
If “link“, the linear fit on the link scale, otherwise, if “response“, the fitted values obtained by transforming the linear predictors by the inverse link function. |
... |
Additional arguments. |
Value
A numeric vector of fitted values.
Examples
## Not run: data(oats) oats.asr <- asreml(yield ~ Variety*Nitrogen, random = ~ Blocks/Wplots, data=oats) fitted(oats.asr) ## End(Not run)