powered by
new_name() generates unique names for additional data frame variables ensuring they are not already present.
new_name()
new_name(x, n = 1L)
A character vector of unique names not already found in x.
x
A data frame.
Number of unique names to generate.
new_name(mtcars) new_name(mtcars, 2)
Run the code above in your browser using DataLab