simulateplpData
creates a plpData object with simulated data.
simulatePlpData(plpDataSimulationProfile, n = 10000)
An object of type plpDataSimulationProfile
as generated
using the createplpDataSimulationProfile
function.
The size of the population to be generated.
An object of type plpData
.
This function generates simulated data that is in many ways similar to the original data on which the simulation profile is based. The contains same outcome, comparator, and outcome concept IDs, and the covariates and their 1st order statistics should be comparable.