Learn R Programming

boostrq (version 1.0.0)

selected.boostrq: Extract indices of selected base learners

Description

Extract indices of selected base learners

Usage

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

Value

an index vector indicating the selected base learner in each iteration

Arguments

object

a boostrq object

...

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
)

selected(boosted.rq)

Run the code above in your browser using DataLab