run_sim_miss_visits: Run multiple simulations of missed visits

run_sim_miss_visitsR Documentation

Run multiple simulations of missed visits

Description

Run multiple simulations of missed visits

Usage

run_sim_miss_visits(
  sim_data,
  trials = 50,
  no_bootstrapping = FALSE,
  sim_algorithm = "simple",
  sim_ctrl = NULL,
  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)

no_bootstrapping

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

sim_algorithm

a string defining the algorithm to use. Option include "simple", "simple_correlated" and "general"

sim_ctrl

the sim_ctrl function that defines additional parameter values passed to the simulation. If no value is supplied (i.e., sim_ctrl = NULL) then default values for the sim_ctrl() function will be used

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/delaySim documentation built on Jan. 2, 2023, 11:23 p.m.