createOutputMatrix: Create a matrix of NA with specified col/row names/lengths.

createOutputMatrixR Documentation

Create a matrix of NA with specified col/row names/lengths.

Description

Create a matrix of NA with specified col/row names/lengths.

Usage

createOutputMatrix(varname, rows, cols)

Arguments

varname

simframe source var. stored in the "varname" attribute. of the matrix. This is the name of the variable in the simframe that will be used to fill this matrix during simulation

rows

row names, or a numeric scalar for the number of rows

cols

columns names, or a numeric scalar for the number of cols

Value

a matrix with the "varname" attribute set to varname


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.