R/get_pkg_data.R

Defines functions get_pkg_data

get_pkg_data <- function(name,
                         pkg="EpiCompare"){
  utils::data(list = name, package = pkg)
  base::get(x = name, envir = asNamespace(pkg))
}
serachoi1230/EpiCompare documentation built on Jan. 30, 2024, 11:37 a.m.