Skip to contents

Creates a profile based on the provided CohortMethodData object, which can be used to generate simulated data that has similar characteristics.

Usage

createCohortMethodDataSimulationProfile(cohortMethodData, minCellCount = 5)

Arguments

cohortMethodData

An object of type CohortMethodData as generated using getDbCohortMethodData().

minCellCount

If > 0, willset to zero all low-prevalence covariates in the supplied simulation table in order to prevent identification of persons.

Value

An object of type CohortDataSimulationProfile.

Details

The output of this function is an object that can be used by the simulateCohortMethodData() function to generate a cohortMethodData object.