cleanNames | R Documentation |
cleanNames can be used to obtain valid column names by removing non ascii char. All invalid characters would be replaced by chr, an optional character, if provided otherwise they are removed In the same time, all accented character are replaced by a simple equivalent char
cleanNames(name, chr = "")
name |
A string to clean by removing non ascii char |
chr |
A chr used to replace non ascii character |
the cleaned string
x <- "ÁbcdêãçoàúüEssai/=+$67"
cleanNames(x) # no libraries needed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.