Learn R Programming

boostrq (version 1.0.0)

residuals.boostrq: residuals of boosting regression quantiles

Description

residuals of boosting regression quantiles

Usage

# S3 method for boostrq
residuals(object, ...)

Value

residuals returns the residuals of the fitted boostrq model.

Arguments

object

object of class boostrq

...

additional arguments passed to callies

Examples

Run this code
boosted.rq <-
boostrq(
 formula = mpg ~ brq(cyl * hp) + brq(am + wt),
 data = mtcars,
 mstop = 200,
 nu = 0.1,
 tau = 0.5
)

residuals(boosted.rq)

Run the code above in your browser using DataLab