# Running Multiple Simulations
x <- multiple_mab_simulation(
data = tanf,
algorithm = "thompson",
assignment_method = "Batch",
period_length = 1750,
prior_periods = "All",
blocking = FALSE,
whole_experiment = TRUE,
perfect_assignment = TRUE,
data_cols = c(
id_col = "ic_case_id",
success_col = "success",
condition_col = "condition"
),
times = 5, seeds = sample.int(5)
)
print(x)
Run the code above in your browser using DataLab