new_name | R Documentation |
new_name()
generates unique names for additional data frame variables
ensuring they are not already present.
new_name(x, n = 1L)
x |
A data frame. |
n |
Number of unique names to generate. |
A character vector of unique names not already found in x
.
new_name(mtcars)
new_name(mtcars, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.