Learn R Programming

quantreg (version 4.77)

residuals.nlrq: Return residuals of an nlrq object

Description

Set algorithmic parameters for nlrq (nonlinear quantile regression function)

Usage

## S3 method for class 'nlrq':
residuals(object, type = c("response", "rho"), ...)

Arguments

object
an `nlrq' object as returned by function `nlrq'
type
the type of residuals to return: "response" is the distance between observed and predicted values; "rho" is the weighted distance used to calculate the objective function in the minimisation algorithm as tau * pmax(resid, 0) + (1 - tau) * pmin(resi
...
further arguments passed to or from other methods.

See Also

nlrq