loadCohortMethodData loads an object of type cohortMethodData from a folder in the file system.

loadCohortMethodData(file, readOnly = TRUE, skipCovariates = FALSE)

Arguments

file

The name of the folder containing the data.

readOnly

If true, the data is opened read only.

skipCovariates

Do not load the covariates. Can save a lot of time.

Value

An object of class cohortMethodData.

Details

The data will be written to a set of files in the folder specified by the user.

Examples

# todo