selectParmValues: selectParmValues

Description Usage Arguments Value

View source: R/selectParmValues.R

Description

Creates the 'SelParmValues' object with the user-selected parameter attributes and performs consistency checks on the initial, minimum, and maximum values of the parameters.

Executed By: startModelRun.R
Executes Routines:


Usage

1
selectParmValues(df, if_estimate, if_estimate_simulation, batch_mode)

Arguments

df

betavalues - list of parameters from parameters.csv

if_estimate

yes/no indicating whether or not estimation is run

if_estimate_simulation

character string setting from sparrow_control.R indicating whether estimation should be run in simulation mode only.

batch_mode

yes/no character string indicating whether RSPARROW is being run in batch mode

Value

SelParmValues selected parameters from parameters.csv using condition ifelse((parmMax > 0 | (parmType=="DELIVF" & parmMax>=0)) & (parmMin<parmMax) & ((parmType=="SOURCE" & parmMin>=0) | parmType!="SOURCE")


tbep-tech/tbepRSparrow documentation built on Oct. 9, 2020, 6:24 a.m.