createOutputMatrix | R Documentation |
Create a matrix of NA with specified col/row names/lengths.
createOutputMatrix(varname, rows, cols)
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 |
a matrix with the "varname" attribute set to varname
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.