create_kmeansbreaks: Create kmeans breaks.

Description Usage Arguments Value See Also Examples

Description

Create kmeans breaks.

Usage

1
create_kmeansbreaks(x, control = NULL)

Arguments

x

X is a numeric vector to be discretized

control

Control is used for optional parameters for the method

Value

A vector containing the breaks

See Also

create_breaks

Examples

1
2
kmeans_breaks <- create_breaks(1:10)
create_bins(1:10, kmeans_breaks)

Example output

 [1] 1 1 1 1 2 2 2 3 3 3

binst documentation built on May 2, 2019, 7:32 a.m.