getThresholds: Get thresholds to discretize variables according to their...

View source: R/getThresholds.R

getThresholdsR Documentation

Get thresholds to discretize variables according to their split in tree ensemble models

Description

Get thresholds to discretize variables according to their split in tree ensemble models

Usage

getThresholds(conditions, data, Kmax = 2)

Arguments

conditions

character vector with all conditions from which to find the thresholds

data

data to discretize

Kmax

numeric, maximal number of categories for each variable (default: Kmax = 2).


leylabmpi/endoR documentation built on Oct. 20, 2023, 10:53 p.m.