biostat_data: Data from Methods in Biostatistics in R

Description Usage Arguments Value Examples

Description

Data from Methods in Biostatistics in R

Usage

1

Arguments

...

character files to retrieve. See examples

Value

A character vector of the filename.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
biostat_data("bmi_age.txt")
biostat_data("FLAIR.nii.gz")
ff = system.file("extdata", "shhs1.txt", package = "biostatmethods")
if (file.exists(ff)) {
   file.remove(ff)
}
testthat::expect_error(biostat_data("shhs1.txt"))
token = nsrr::nsrr_token()
if (!is.null(token)) {
   if (biostat_download_shhs()) {
      biostat_data("shhs1.txt")
   }
}

muschellij2/biostatmethods documentation built on May 25, 2019, 5:01 a.m.