categorise_elementNames_ByElementValues | R Documentation |
Categorise a character vector's element names by its element values
categorise_elementNames_ByElementValues(rmdNamed_char)
rmdNamed_char. |
A named vector. |
x <- sample(1:5, 10, replace = T) names(x) <- sample(LETTERS, 10) cat_x <- categorise_elementNames_ByElementValues(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.