IsParameterIn | R Documentation |
Check if a parameter is in a list of possibilities.
IsParameterIn(
paramValue,
paramPossibilities,
allowNULL = TRUE,
paramName = NULL
)
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. |
TRUE if paramValue
is valid, otherwise returns an error message.
## Not run:
IsParameterIn("all", DataSubset)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.