View source: R/sim_helper_functions.R
run_sim_draw_simple_cor | R Documentation |
Draw Missed Visits Using the simple correlated draw algorithm
run_sim_draw_simple_cor(sim_data, sim_ctrl)
sim_data |
a simulation dataset containing time_map, miss_bins, change_point and number of patients |
sim_ctrl |
the control function specifying the simulation parameters. This simulation uses the parameter "alpha." The default value is set to |
# Usage of run_sim_draw_simple_cor() while specifying alpha=0 run_sim_draw_simple_cor(sim_data = example_sim_data, sim_ctrl = sim_ctrl(alpha = 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.