generateDataMatrix: generateDataMatrix

Description Arguments Value Author(s)

Description

generate all the data vectors and rng seeds needed to do mediation with parallel processing

Arguments

theObject

an instance of MediateDataGenerationParameters

initial_SEED

the SEED that will be used with set.seed before generating the data, the generated MediateModelVariables will be provided incremented SEED values starting with initial_SEED + 1

Value

matrix with dimensions of rows = length(theObject@betaM) and columns = theObject@nSim containing the generated data

Author(s)

Michael Gooch


SharonLutz/reverseCT documentation built on Oct. 30, 2019, 11:54 p.m.