str_arrange | R Documentation |
Sorts letters in a character string by alphabetical order
str_arrange(string, decreasing = FALSE)
string |
A vector of character string to pass through. |
decreasing |
logical, specifies whether sort is increasing or decreasing. See 'sort()' (base) |
str <- c("sugar", "spice", "everything nice")
str_arrange(str)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.