Learn R Programming

BHAI (version 0.99.2)

sample.pps: Simulate PPS data

Description

Simulate PPS data

Usage

sample.pps(pps_data, num_survey_patients)

Arguments

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.

Value

A simulated PPS object.

See Also

'>PPS

Examples

Run this code
# NOT RUN {
# 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)

# }

Run the code above in your browser using DataLab