pred_ranger_quantiles: Predict quantiles from workflow's ranger fitting object for...

Description Usage Arguments Value

View source: R/tea.R

Description

The workflow need to be constructed with set_engine("ranger", quantreg = TRUE, ...). The newdata is transformed/prepared by bake.

Usage

1
pred_ranger_quantiles(rf, newdata, quantiles = c(0.5, 0.75))

Arguments

rf

tidymodels workflow

newdata

data.frame with predictors as in traning data

quantiles

numeric vector of probabilities of prediction distribution

Value

data.frame with one column for each quantile


bgctw/etpart documentation built on Dec. 19, 2021, 8:49 a.m.