Description Usage Arguments Value See Also
Categorize a vector based on a data.frame with two columns, the low and high end points of each category.
1 2 | categorize(vec, cutpoints.df, match.min = TRUE,
names = TRUE)
|
vec |
vector to categorize |
cutpoints.df |
quantile_cutpoints will create a data.frame of the proper format here |
match.min |
Whether to include or exclude the minimum value |
names |
Return names or row numbers |
Categorized values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.