nice_names | R Documentation |
Convert a character vector into a similar character vector that would work better as names in a data frame by avoiding certain awkward characters
nice_names(x, unique = TRUE)
x |
a character vector |
unique |
a logical indicating whether returned values should be uniquified. |
a character vector
nice_names( c("bad name", "name (crazy)", "a:b", "two-way") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.