createOutcomeMatrices | R Documentation |
Create a list of empty outcome matrix variables for a specified outcome set. The variables to create are those from the outcome set specified by "outcome_module_name".
createOutcomeMatrices(simframe, outcome_module_name, iterations)
simframe |
simulation frame |
outcome_module_name |
name of the outcomeset to create variables for |
iterations |
either a vector of names for each iteration, eg: ("Year 5", "Year 6" ...) or a scalar specifying the number of iterations. |
A dataframe of outcome variables. Each output variable is a matrix of simvalues by iterations. Each matrix is assigned the "varname" attribute that names the source variable in the simframe that will be used during simulation to fill the matrix. This source variable is the same name as the name outcome matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.