powered by
A valid parameter paramValue is either NULL or in the space of paramPossibilites.
paramValue
paramPossibilites
ValidateParameterIn(paramValue, paramPossibilities, allowNULL = TRUE)
object. The parameter value to check.
vector. A vector of possible values for the parameter.
logical. Whether or not to allow NULL as a possibility.
TRUE if paramValue is valid, otherwise it raises an error.
# NOT RUN { ValidateParameterIn("all", DataSubset) # }
Run the code above in your browser using DataLab