fix_names | R Documentation |
Ensure column names are valid
fix_names(x, lower = FALSE)
x |
Data.frame or vector of (column) names |
lower |
Set letters to lower case (TRUE or FALSE) |
Remove symbols, trailing and leading spaces, and convert to valid R column names. Opinionated version of make.names
fix_names(c(" var-name ", "$amount spent", "100"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.