create_earthbreaks {binst}R Documentation

Create breaks using earth (i.e. MARS)

Description

Create breaks using earth (i.e. MARS)

Usage

create_earthbreaks(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

earth_breaks <- create_breaks(x=iris$Sepal.Length, y=iris$Sepal.Width, method="earth")
create_bins(iris$Sepal.Length, earth_breaks)

[Package binst version 0.2.1 Index]