Learn R Programming

cdfquantreg (version 1.3.1-2)

residuals.cdfqr: Register method for cdfqr object functions

Description

Register method for cdfqr object functions.

Usage

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

Value

residuals of a specified type.

Arguments

object

The cdfqr model project

type

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

...

currently ignored

Examples

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

residuals(fit, "pearson")

Run the code above in your browser using DataLab