residuals.boostrq {boostrq} | R Documentation |
residuals of boosting regression quantiles
## S3 method for class 'boostrq'
residuals(object, ...)
object |
object of class boostrq |
... |
additional arguments passed to callies |
residuals returns the residuals of the fitted boostrq model.
boosted.rq <-
boostrq(
formula = mpg ~ brq(cyl * hp) + brq(am + wt),
data = mtcars,
mstop = 200,
nu = 0.1,
tau = 0.5
)
residuals(boosted.rq)