View source: R/tidyDiscretise.R
discretise | R Documentation |
discretise a continuous variable using a user supplied strategy
discretise(df, continuousVar, discreteOutputVar, method, ...)
df |
- may be grouped, in which case the value is interpreted as different types of continuous variable |
continuousVar |
- the columns that define the discrete subgroups of the data. |
discreteOutputVar |
- the name of the value to create in the dataframe |
method |
- the method employed - valid options are "ByRank", "ByValue", "Manual" |
... |
- the other parameters are passed onto the implementations |
a single value for the entropy of the vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.