Description Usage Arguments Examples
View source: R/BrandDensity2.R
cutRanges divides the range of *value_col* and codes the values according to which interval they fall in based on the provided a new column value_cat to the returned dataframe
1 |
df |
a data frame |
value_col |
a name of numeric column to be converted |
cut_range |
character vector that is simialar to the output of *cut* function. Each element represents a range closed on the right |
adapt |
logical, if TRUE add o zero range to put zero values into it's own range |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.