View source: R/discretize_variable.R
| discretize_variable | R Documentation |
Converts a data.table column from continuous to a discrete factor
discretize_variable(data, variable, num_cats, breakpoints = NULL)
data |
|
variable |
|
num_cats |
|
breakpoints |
|
the updated data.table, modified in place
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.