sample.pps {BHAI} | R Documentation |
Simulate PPS data
sample.pps(pps_data, num_survey_patients)
pps_data |
The PPS object containing the data. Parameters for simulations are extracted from this data. |
num_survey_patients |
Numeric vector indicating sample sizes for simulations. |
A simulated PPS object.
# Specify the number of survey patients
sim_survey_patients = 10000
# Subsample data sets from european PPS
sim_pps = sample.pps(eu_pps, num_survey_patients = sim_survey_patients)