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