formula_top_pred_RF: Build formula from top predictors

View source: R/feature_selection_RF.R

formula_top_pred_RFR Documentation

Build formula from top predictors

Description

Build formula from top predictors

Usage

formula_top_pred_RF(fit, resp, k = NULL)

Arguments

fit

a model fitted with ranger()

resp

the name of the response variable

k

the maximum number of predictors to return (default = NULL for no sub-selection)

Value

a formula


courtiol/rangeRinPA documentation built on Sept. 29, 2022, 9:54 a.m.