rank_predictors_RF: Extract top predictors

View source: R/feature_selection_RF.R

rank_predictors_RFR Documentation

Extract top predictors

Description

This function extract the top (fixed-effects) predictors from a RF based on their importance.

Usage

rank_predictors_RF(fit, k = NULL)

Arguments

fit

a model fitted with ranger()

k

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

Value

predictors with their importance


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