trim_prefix | R Documentation |
If the resulting character values would be empty, the prefix is returned. At the end, all items in the vector are trimmed using trim_label.
trim_prefix(x, prefix = TRUE)
x |
A character or factor vector. |
prefix |
The prefix. Set to TRUE to first extract the prefix. |
If x is a factor, the order of factor levels is retained.
The trimmed character or factor vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.