residuals.asreml

Description

residuals.asreml extracts residuals from asreml objects.

Usage
## S3 method for class 'asreml'
residuals(object, type = c("working", "deviance", "pearson",
"response", "stdCond"), spatial = c("trend", "plot"), ...)
Arguments
object An asreml object.
type Type of residuals: "deviance", "pearson", "working", "response", "response" or “stdCond“. Default is “deviance“.
spatial If a second independent error term has been fitted by including units in the random formula, the residuals will have the units E-BLUPs added if spatial = "plot"; the default is spatial = "trend".
... Additional arguments.
Value

A numeric vector containing the model residuals.

Updated on June 22, 2021

Was this article helpful?

Related Articles