# NOT RUN {
mod_power(n_groups = 2,
effect_sizes = c(.1,.5),
study_size = 20,
k = 10,
i2 = .50,
es_type = "d")
mod_power(n_groups = 2,
con_table = list(g1 = c(6,5,4,5), g2 = c(8,5,2,5)),
study_size = 40,
k = 20,
i2 = .50,
es_type = "or")
# }
Run the code above in your browser using DataLab