View source: R/qlr_functions.R
Simulate a chosen number of studies based on a fixed correlation matrix
1 2 3 4 5 6 7 8 | simulate_studies(
rho_matrix,
number_of_studies = 10,
prob_any_missing = 0.5,
prop_missing = 0.6,
imputations = 5,
return.list = FALSE
)
|
rho_matrix |
The correlation matrix (obtained from random_cor_cov). |
number_of_studies |
The total number of studies to simulate |
prob_any_missing |
The probability that any given study will have at least one missing correlation |
prop_missing |
The proportion of variables from each study that will have missing data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.