View source: R/clean.variable.name.R
clean.variable.name | R Documentation |
This function will translate a file name into a name that is a valid variable name in R. Non-alphabetic characters on the boundaries of the file name will be stripped; non-alphabetic characters inside of the file name will be replaced with dots.
clean.variable.name(variable.name, config = .load.config())
variable.name |
A character vector containing a variable's proposed name that should be standardized. |
config |
A list of configuration variables. Defaults to those loaded by load.project |
A translated variable name.
library('ProjectTemplate')
## Not run: clean.variable.name('example_1')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.