Checks to see if user-provided value for a bgw_setting is valid.
bgw_checkSetting(
settingValue,
bgw_setting_type,
bgw_validDiscrete,
bgw_contLB,
bgw_contUB
)Logical. Indicates if the setting is okay or not.
Setting value (submitted by user).
Type of setting being checked. Possible values are "discrete" and "continuous".
List. Contains valid values for a discrete setting.
Numerical value. The lower bound for a valid continuous setting.
Numerical value. The upper bound for a valid continuous setting.