R/compmatch.R

Defines functions compmatch

compmatch <- function(x, split) {
  
  if (split %in% .special.characters)
    split <- paste("\\", split, sep = "")
  
  res <- any(grepl(split, x))
  
  res
}

Try the netmeta package in your browser

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

netmeta documentation built on May 31, 2023, 5:45 p.m.