clean_names | R Documentation |
Clean character vector by replacing all symbols and sequences of symbols with single underscores, ensuring no name begins or ends with a symbol
clean_names(x, prefix_digits = "V_")
x |
Character vector |
prefix_digits |
Character: prefix to add to names beginning with a digit. Set to NA to skip |
E.D. Gennatas
x <- c("Patient ID", "_Date-of-Birth", "SBP (mmHg)")
x
clean_names(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.