Skip to contents

Response-scale residuals against the marginal (default) or conditional fitted values. type = "pearson" divides by the residual SD exp(coef[["logsigma_e"]]).

Usage

# S3 method for class 'beezdemand_hurdle'
residuals(object, type = c("response", "pearson"), marginal = TRUE, ...)

Arguments

object

A beezdemand_hurdle object.

type

One of "response" (default) or "pearson".

marginal

Passed to fitted.beezdemand_hurdle(). Default TRUE.

...

Unused.

Value

Numeric vector of length nobs(object).