run_sim_miss_patients: Run multiple simulations of missed patients

Description Usage Arguments

Description

Run multiple simulations of missed patients

Usage

1
2
3
4
5
6
7
run_sim_miss_patients(
  sim_data,
  trials = 50,
  new_draw_weight = 0,
  no_bootstrapping = FALSE,
  num_cores = NULL
)

Arguments

sim_data

a dataset containing the time_map, miss bins and other parameters used for the simulation. This dataset should be created using the 'prep_sim_data()' function

trials

number of simulationed trials to run (default is 50)

new_draw_weight

a weighing parameter used to assign preference to drawing previously "missed" patients at each time step. A value of 0 applies strict preference to drawing patients who have been assigned to miss in prior time steps, while a value 0.5 applies equal weight to patients who have and have not been previously selected.

no_bootstrapping

Specifies whether you want to run the simulations without bootstrapping the original dataset

num_cores

The number of worker cores to use. If not specified will determined the number of cores based on the which ever is the smallest value between number of trials or detected number of cores - 1


aarmiller/delayDX documentation built on July 11, 2021, 4:01 p.m.