R/make_labels.r

Defines functions make_labels

Documented in make_labels

##' Helper function for lables in plot
##'
##' @param labels lables
##' @return a list of split labels
##' @importFrom stringr str_split
##' @keywords internal
make_labels <- function(labels) {
  result <- str_split(labels, "\\.")
  unlist(lapply(result, function(x) x[2]))
}
epiforecasts/covid19.slovakia.mass.testing documentation built on March 2, 2021, 12:05 a.m.