refactor | R Documentation |
Keep one level of a factor and set all others to a specified level
refactor(fac, keep, ref_level = "OTHER")
A factor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.