preprocess_varnames | R Documentation |
Function to preprocess variable names useful for a data.frame. If a char is given a char is correct char is given back, if a data.frame the same data.frame with corrected names.
preprocess_varnames(x = NULL, trim = NULL, dump_rev = TRUE)
x |
a data.frame or its (col)names |
trim |
character length of trimming. If |
dump_rev |
print a matrix with the reverse renaming. It can be used
with |
This function was created to make automatic variable name creation from Excel files obtained by others.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.