Description Usage Arguments Value Examples
View source: R/remove_specials_from_colnames.R
Removes special characters from column names.
1 |
x |
dataset of a type that has colnames (e.g. data.frame) |
the same dataset with specials removed from column names
1 2 3 4 5 | badly_name_data <-
data.frame(goodcol = c(1,2,3),
"bad_col(has_parens)" = c(4,5,6),
check.names = FALSE)
remove_parens_from_colnames(badly_name_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.