Learn R Programming

sommer (version 2.9)

residuals.mmer: Residuals form a GLMM fitted with mmer

Description

residuals method for class "mmer".

Usage

# S3 method for mmer
residuals(object, type = "conditional", …)

Arguments

object

an object of class "mmer"

type

the type of residuals which should be returned. The alternatives are: "conditional" (e=y-(Xb+Zu)) and "regular" (e=y-Xb).

Further arguments to be passed

Value

vector of residuals

See Also

residuals, mmer, and mmer2