Learn R Programming

ngspatial (version 1.2-2)

residuals.sparse.sglmm: Extract model residuals.

Description

Extract model residuals.

Usage

# S3 method for sparse.sglmm
residuals(object, type = c("deviance", "pearson",
  "response"), ...)

Arguments

object

an object of class sparse.sglmm, typically the result of a call to sparse.sglmm.

type

the type of residuals that should be returned. The alternatives are “deviance” (default), “pearson”, and “response”.

additional arguments.

Value

A vector of residuals.

See Also

sparse.sglmm, residuals.glm