Description Usage Arguments Value
Run simulations
1 2 3 4 5 | simulate_methods(sim_design, draw_network, num_simulations = 100,
bs_iterations = 100, stage2_method = "gradient",
triangles_bias_est = "theorem2", triangles_bs_inf = "none",
file_name = NULL, verbose = TRUE, bs_trimming_bound = 0,
force_robust = FALSE, bs_force_robust = force_robust)
|
sim_design |
Simulation design in list format |
draw_network |
function that draws a network (takes argument sim_design) |
num_simulations |
number of simulations |
bs_iterations |
number of bootstrap iterations for triangle test |
stage2_method |
either "mle" or "gradient" |
triangles_bias_est |
specify how bias is estimated |
triangles_bs_inf |
specify typoe of bootstrap inference |
file_name |
file name for saving results (relative to path) if not provided then results are not saved to disk |
verbose |
print more diagnostic output |
bs_trimming_bound |
specify trimming of probabilities in bootstrap Monte Carlo |
force_robust |
don't use speedglm (for robustness in sparse networks) |
bs_force_robust |
don't use speedglm in bootstrap Monte Carlo |
data frame with simulation results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.