get_example_data: Get example data

Description Usage Arguments Value Examples

View source: R/get_example_data.R

Description

Copy an example dataset to use with INTEREST to a given directory.

Usage

1
get_example_data(dataset = c("MIsim", "relhaz", "frailty"), where = ".")

Arguments

dataset

The dataset to copy. Possible choices are: MIsim, relhaz, frailty. More information on each dataset can be obtained by typing ?interest::MIsim, ?interest::relhaz, or ?interest::frailty in the R console.

where

Where to copy the dataset. Defaults to the current directory.

Value

The required dataset, invisibly.

Examples

1
2
3
4
## Not run: 
get_example_data("MIsim")

## End(Not run)

ellessenne/interest documentation built on April 29, 2020, 1:07 p.m.