Learn R Programming

DSAIRM (version 0.9.6)

generate_fctcall: A helper function that produces a call to a simulator function for specific settings

Description

This function takes a modelsettings structure and uses that information to create an unevaluated function call that runs the simulator function with the specified settings

Usage

generate_fctcall(modelsettings)

Value

A string containing an unevaluated function call with the specified settings, or an error message

Arguments

modelsettings

a list with model settings. Required list elements are:
List elements with names and values for all inputs expected by simulation function.
modelsettings$simfunction - name of simulation function in variable

Details

This function produces a function call for specific settings.