fitted.asreml | R Documentation

## Extract asreml Fitted Values

### Description

Extracts fitted values from `asreml` objects.

### Usage

    fitted.asreml(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 of the link function.

### Value

The vector of fitted values.

### Author(s)

David Butler

### See Also

`coef.asreml` `asreml` `residuals.asreml`

### Examples

    ## The oats data
    data(oats)
    oats.asr <- asreml(yield ~ Variety*Nitrogen, random = ~ Blocks/Wplots, data=oats)
    fitted(oats.asr)