cmc_makeDraws: Creates a list of matrices containing draws. One matrix per...

Description Usage Arguments Value

View source: R/cmc_makeDraws.r

Description

Creates a list of matrices containing draws. One matrix per dimension

Usage

1
cmc_makeDraws(cmc_inter_draws, cmc_intra_draws)

Arguments

cmc_inter_draws

A list of arguments describing the inter-person draws to create. The list must include the following elements: - nDraws Scalar. Number of draws per individual per dimension. - drawNames Vector of strings. Name of dimensions (i.e. random variables to draw for). - normalDraws Vector of strings. Name of dimensions to turn into normal draws. - drawType String. Can be 'halton', 'mlhs', or 'pmc'. Determines drawing method.

cmc_intra_draws

A list of arguments describing the intra-person draws to create. The list must include the following elements: - nDraws Scalar. Number of draws per individual per dimension. - drawNames Vector of strings. Name of dimensions (i.e. random variables to draw for). - normalDraws Vector of strings. Name of dimensions to turn into normal draws. - drawType String. Can be 'halton', 'mlhs', or 'pmc'. Determines drawing method.

Value

A list of arrays, one for each variable. Each array has dimensions nObs x nDrawsInter x nDrawsIntra


cmcRcode documentation built on May 2, 2019, 4:50 p.m.