R/covid_example.R

Defines functions covid_example

Documented in covid_example

#' Provide working directory for UKB.COVID19 example files
#'
#' @param path path to file
#'
#' @examples
#' covid_example('results/covariate.txt')
#'
#' @return Outputs the working directory for UKB.COVID19 example files.
#' 
#' @export 

covid_example <- function(path) {
  system.file("extdata", path, package = "UKB.COVID19", mustWork = TRUE)
}

Try the UKB.COVID19 package in your browser

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

UKB.COVID19 documentation built on March 18, 2022, 8:03 p.m.