Description Usage Arguments Value
This function generates stable parameters across a range of ORs and then produces data for replicates at these parameter levels.
| 1 2 3 | stable_run(Ubs, pY_target, pE_target, obs_stable, obs_run, method,
  iter_fn = iter_fn_1, adjust_fn = lin_adjust, cores = 1, reps = 10,
  agg_subset = NULL, ...)
 | 
| Ubs | vector of odds ratios | 
| pY_target | numeric target for the total population prevalence of Y | 
| pE_target | numeric target for the total population prevalence of E | 
| obs_stable | number of observations for the stabilising run | 
| obs_run | number of observations for the main run | 
| method | the simulation method to be used. See 'simulate_UC' | 
| iter_fn | function defining how new stabilising parameters are generated | 
| adjust_fn | the method to be used for adjustment for unmeasured confounders | 
| cores | number of processor cores to use (passed to mclapply) | 
| ... | arguments to be passed to sims_fn | 
list containing data and aggregated data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.