This function will attempt to balance the groups so they contain similar numbers of elements.
discretize(df, groups = 3)
A data frame-like object.
The number of groups into which to separate the data.
The same data fram with updated columns.
NULL
#> NULL