IsParameterIn {datarobot} | R Documentation |
Check if a parameter is in a list of possibilities.
Description
Check if a parameter is in a list of possibilities.
Usage
IsParameterIn(
paramValue,
paramPossibilities,
allowNULL = TRUE,
paramName = NULL
)
Arguments
paramValue |
object. The parameter value to check. |
paramPossibilities |
vector. A vector of possible values for the parameter. |
allowNULL |
logical. Whether or not to allow NULL as a possibility. |
paramName |
character. The name of the parameter to check. |
Value
TRUE if paramValue
is valid, otherwise returns an error message.
Examples
## Not run:
IsParameterIn("all", DataSubset)
## End(Not run)
[Package datarobot version 2.18.6 Index]