R/format_label.R

Defines functions format_label

format_label <- function(x) {

  x %>%
    stringr::str_replace_all(
      "([#$%&_{}])",
      "\\\\\\1"
    )

}

Try the fcaR package in your browser

Any scripts or data that you put into this service are public.

fcaR documentation built on June 29, 2021, 1:06 a.m.