residuals: Calculate residuals for 'oomlm' and 'oomglm' models

Description Usage Arguments See Also

Description

Returns the difference between actual and predicted values. Since oomlm models do not store data while fitting, data must be supplied to calculate residuals.

Usage

1
2
3
4
5
6
7
## S3 method for class 'oomlm'
residuals(object, data = NULL, as_function = FALSE,
  ...)

## S3 method for class 'oomglm'
residuals(object, data = NULL, type = c("deviance",
  "pearson", "response", "working"), as_function = FALSE, ...)

Arguments

object

An object inheriting from class oomlm

data

Observations for residual calculation.

as_function

If TRUE, a function requiring only data is returned for subsequent residual calculations.

...

Ignored.

type

Residual calculation method for oomglm models.

See Also

oomlm(), oomglm()


blakeboswell/ploom documentation built on May 25, 2019, 3:24 p.m.