Create a set of dummy data to put through the functions of the package
create_dummy_data.Rd
Create a set of dummy data to put through the functions of the package
Usage
create_dummy_data(
type,
max_months_waited,
number_periods,
referral_values = 9000:12000,
max_incompletes = 10000,
max_treatments = 500,
seed = 123
)
Arguments
- type
string; one of "referral", "incomplete" or "complete"
- max_months_waited
integer; the maximum number of months to group patients waiting times by for the analysis. Data are published up to 104 weeks, so 24 is likely to be the maximum useful value for this argument.
- number_periods
integer; the intended number of periods in the dataset
- referral_values
integer; vector of values that are sampled from for the count of referrals at each time step
- max_incompletes
integer; the maximum number of incomplete pathways possible in one time step
- max_treatments
integer; the maximum number of treatments possible
- seed
seed to generate the random data from