ctmaPRaw function

ctmaPRaw

ctmaPRaw

Converts empirical correlation matrices to pseudo raw data (i.e. random data, that perfectly reproduce the correlations)

ctmaPRaw( empCovMat = NULL, empNMat = matrix(0, 0, 0), empN = NULL, studyNumber = NULL, empMeanVector = NULL, empVarVector = NULL, activateRPB = FALSE, experimental = FALSE )

Arguments

  • empCovMat: empirical primary study covariance matrix
  • empNMat: matrix of (possibly pairwise) N
  • empN: N (in case of listwise N)
  • studyNumber: internal number
  • empMeanVector: vector of means for all variables, usually 0
  • empVarVector: vector of variances for all variables, usually 1
  • activateRPB: set TRUE to receive push messages with 'CoTiMA' notifications on your phone
  • experimental: set TRUE to try new pairwise N function