simulate_studies: Simulate a chosen number of studies based on a fixed...

Description Usage Arguments

View source: R/qlr_functions.R

Description

Simulate a chosen number of studies based on a fixed correlation matrix

Usage

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
)

Arguments

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


dustinfife/qlr documentation built on April 28, 2021, 3:23 a.m.