nice_names {mosaicCore} | R Documentation |
Nice names
Description
Convert a character vector into a similar character vector that would work better as names in a data frame by avoiding certain awkward characters
Usage
nice_names(x, unique = TRUE)
Arguments
x |
a character vector |
unique |
a logical indicating whether returned values should be uniquified. |
Value
a character vector
Examples
nice_names( c("bad name", "name (crazy)", "a:b", "two-way") )
[Package mosaicCore version 0.9.4.0 Index]