Learn R Programming

sommer (version 2.1)

residuals.mmerM: Residuals form a GLMM fitted with mmer

Description

residuals method for class "MMERM".

Usage

"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
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