residuals.cdfqr {cdfquantreg}R Documentation

Register method for cdfqr object functions

Description

Register method for cdfqr object functions.

Usage

## S3 method for class 'cdfqr'
residuals(object, type = c("raw", "pearson", "deviance"), ...)

Arguments

object

The cdfqr model project

type

The type of residuals to be extracted: 'raw', 'pearson','std.pearson', or 'deviance',

...

currently ignored

Value

residuals of a specified type.

Examples

data(cdfqrExampleData)
fit <- cdfquantreg(crc99 ~ vert | confl, 't2','t2', data = JurorData)

residuals(fit, "pearson")

[Package cdfquantreg version 1.3.1-2 Index]