selected.boostrq: Extract indices of selected base learners

View source: R/methods.R

selected.boostrqR Documentation

Extract indices of selected base learners

Description

Extract indices of selected base learners

Usage

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

Arguments

object

a boostrq object

...

additional arguments passed to callies

Value

an index vector indicating the selected base learner in each iteration

Examples

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

selected(boosted.rq)


boostrq documentation built on May 29, 2024, 12:32 p.m.