speedy_varnames | R Documentation |
speedy_varnames generates a vector of new, generic variable names beginning with a given character value through the number of new names desired. This is espeically useful for converting ASCII files when a large number of new variable names must be created.
speedy_varnames(prefix = "Q", first_number = 1, last_number = 25)
prefix |
A character value to precede all of the new variable names |
first_number |
The beginning number of the new variable name vector |
last_number |
The final number of the new variable name vector |
A vector of new variable names
If using this function for ASCII conversions, you can paste the new vector of names into the col_names argument of the 'read_rpr' function.
Jacob Harris
speedy_varnames("Q", 1, 25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.