Learn R Programming

sommer (version 2.9)

residuals.mmerM: Residuals form a GLMM fitted with mmer

Description

residuals method for class "mmerM".

Usage

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

Arguments

object

an object of class "mmerM"

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