run_model {DSAIDE} | R Documentation |
A function that runs an app for specific settings and processes results for plot and text generation
Description
This function runs a model based on information provided in the modelsettings list passed into it.
Usage
run_model(modelsettings)
Arguments
modelsettings |
a list with model settings. Required list elements are: |
Details
This function runs a model for specific settings.
Value
A vectored list named "result" with each main list element containing the simulation results in a dataframe called dat and associated metadata required for generate_plot and generate_text functions. Most often there is only one main list entry (result[[1]]) for a single plot/text.