Description Usage Arguments Value
Classifies existing values into three new categories or groups
1 | categorize(x, value1, value2, group0 = 0, group1 = 1, group2 = 2)
|
x |
variable to be categorized |
value1 |
first cutoff used to split groups; <= cutoff1 |
value2 |
second cutoff used to split groups; > cutoff1 & <= cutoff2 |
group0 |
value assigned to members of first group; default = 0 |
group1 |
value assigned to members of second group; default = 1 |
group2 |
value assigned to members of third group; default = 2 |
categorical vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.