Remove prefices from column names.
remove_prefix(data, prefices, sep = ".")
Arguments
data |
data frame |
prefices |
vector of prefices to be removed from column names |
sep |
prefix separator |
Value
data frame with updated column names
Examples
#> [1] "main.temp" "sys.msg" "cnt"
#> [1] "temp" "msg" "cnt"