Creates a CohortMethodData object with simulated data.
Arguments
- profile
An object of type
CohortMethodDataSimulationProfile
as generated using thecreateCohortMethodDataSimulationProfile()
function.- n
The size of the population to be generated.
Value
An object of type CohortMethodData.