simulatePlpData | R Documentation |
simulateplpData
creates a plpData object with simulated data.
simulatePlpData(plpDataSimulationProfile, n = 10000)
plpDataSimulationProfile |
An object of type |
n |
The size of the population to be generated. |
This function generates simulated data that is in many ways similar to the original data on which the simulation profile is based.
An object of type plpData
.
# first load the simulation profile to use
data("simulationProfile")
# then generate the simulated data
plpData <- simulatePlpData(simulationProfile, n = 100)
nrow(plpData$cohorts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.