R/mdf_par_name.R

Defines functions mdf_par_name

################
# mdf_par_name #
################

mdf_par_name <- function(nm, pb_chr = c('-', ' ', '/', '*', '+', '_')){
  
  for(c in 1:length(pb_chr)){nm <- gsub(pattern = pb_chr[c],
                            replacement = "", x = nm)}
  return(nm)
}

Try the mppR package in your browser

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

mppR documentation built on Jan. 6, 2023, 1:23 a.m.