View source: R/tidyDiscretise.R
| discretise_ByRank | R Documentation | 
Discretise data by the rank of a continuous variable
discretise_ByRank( df, continuousVar, discreteOutputVar, bins = NA, binStrategy = linearBySize(slope = 8, min = 4, max = 100), ... )
df | 
 - may be grouped, in which case the value is interpreted as different types of continuous variable  | 
continuousVar | 
 - the columns that define the continuous data.  | 
discreteOutputVar | 
 - the name of the value to create in the dataframe for the discrete data  | 
bins | 
 - (optional) number of bins  | 
binStrategy | 
 - if the number of bins is not set they will be calculated using this bin strategy  | 
... | 
 - other options passed onto tidyinfostats::discretise_Manual  | 
a dataframe with an additional column with the discrete categories
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.