Simulate treatments according to specified policy rules
1 2 | partreatments_by_policy(policies, treat_chars, stagegroups, map, pop_size,
nsim, ncores = 4, method = "inner")
|
policies |
A "scenarios" data frame containing an 'id' for the policies and a 'pairnum' column indicating either NA or the paired policy, for |
method |
Either 'outer' or 'inner'. If outer, will parallelize the outer lapply. If inner, will parallelize repeated calls to sim_multinom |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.