Learn R Programming

boostrq (version 1.0.0)

fitted.boostrq: fitted values of boosting regression quantiles

Description

fitted values of boosting regression quantiles

Usage

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

Value

fitted returns the fitted values 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
)

fitted(boosted.rq)

Run the code above in your browser using DataLab