View source: R/data-generation.R
| n_ES_param | R Documentation |
A functional that takes in average sample size per primary study, average number of effect sizes per study, and the minimum sample size per study and returns a function to generate random samples of primary study sample sizes and numbers of effect sizes per study.
n_ES_param(mean_N, mean_ES, min_N = 20L)
mean_N |
numeric value specifying the average sample size per primary study. |
mean_ES |
numeric value specifying the average number of effect sizes per primary study. |
min_N |
numeric value specifying the minimum sample size per study. |
A function that generates a data.frame with randomly generated sample
size per primary study and number of effect sizes per study.
study_features <- n_ES_param(mean_N = 40, mean_ES = 3, min_N = 10)
study_features(m = 3)
study_features(m = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.