applyCuts | R Documentation |
Applies cut points to input data frame.
applyCuts(df, cutp, infinite_bounds, labels)
df |
input data frame. |
cutp |
a list of vectors with cutpoints (for more information see |
infinite_bounds |
a logical indicating how the bounds on the extremes should look like (for more information see |
labels |
a logical indicating whether the bins of the discretized data should be represented by integer codes or as interval notation using (a;b] when set to TRUE. |
discretized data. If there was no discretization specified for some columns, these are returned as is.
applyCut
applyCuts(datasets::iris, list(c(5,6), c(2,3), "All", NULL, NULL), TRUE, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.