bgw_checkSetting {bgw}R Documentation

bgw_checkSetting

Description

Checks to see if user-provided value for a bgw_setting is valid.

Usage

bgw_checkSetting(
  settingValue,
  bgw_setting_type,
  bgw_validDiscrete,
  bgw_contLB,
  bgw_contUB
)

Arguments

settingValue

Setting value (submitted by user).

bgw_setting_type

Type of setting being checked. Possible values are "discrete" and "continuous".

bgw_validDiscrete

List. Contains valid values for a discrete setting.

bgw_contLB

Numerical value. The lower bound for a valid continuous setting.

bgw_contUB

Numerical value. The upper bound for a valid continuous setting.

Value

Logical. Indicates if the setting is okay or not.


[Package bgw version 0.1.3 Index]