create_dtbreaks {binst}R Documentation

Create breaks using decision trees (recursive partitioning)

Description

Create breaks using decision trees (recursive partitioning)

Usage

create_dtbreaks(x, y, control = NULL)

Arguments

x

X is a numeric vector to be discretized

y

Y is the response vector used for calculating metrics for discretization

control

Control is used for optional parameters for the method

Value

A vector containing the breaks

See Also

create_breaks

Examples

dt_breaks <- create_breaks(iris$Sepal.Length, iris$Species, method="dt")
create_bins(iris$Sepal.Length, dt_breaks)

[Package binst version 0.2.1 Index]