| collapselevels | R Documentation |
Collapse factor levels into named groups
collapselevels(x, groups)
x |
An atomic vector. |
groups |
Named list mapping a replacement label to the values it should collapse. |
A character vector with levels collapsed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.