sample.pps {BHAI}R Documentation

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


# 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)


[Package BHAI version 0.99.2 Index]