| check_is_param | R Documentation | 
Check whether a parameter value is from a valid set
check_is_param(
  value,
  allowed,
  allownull = FALSE,
  allowmultiple = FALSE,
  stopit = TRUE,
  msg = NULL
)
value | 
 A character value.  | 
allowed | 
 Allowed values.  | 
allownull | 
 Whether to allow NULL values.  | 
allowmultiple | 
 Whether to allow multiple values.  | 
stopit | 
 Whether to stop execution if the value is invalid.  | 
msg | 
 A custom error message if the check fails.  | 
logical whether method is valid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.