generate_fctcall: A helper function that produces a call to a simulator...

View source: R/generate_fctcall.R

generate_fctcallR Documentation

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)

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.

Value

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


ahgroup/DSAIRM documentation built on Oct. 4, 2023, 6:50 a.m.