Learn R Programming

sommer (version 3.6)

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