discretize | R Documentation |
This function will attempt to balance the groups so they contain similar numbers of elements.
discretize(df, groups = 3)
df |
A data frame-like object. |
groups |
The number of groups into which to separate the data. |
The same data fram with updated columns.
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.