Description Usage Arguments Value
matchArg
is a wrapper around match.arg
to check
arguments which have an "all" option in their choices. Note that the defaults
are not the same as in match.arg
.
1 |
arg |
a character vector (of length one unless several_ok is TRUE) or NULL |
choices |
a character vector of candidate values (if NULL [default], it is deduced from the formals of the calling function) |
several_ok |
logical specifying whether arg should be allowed to have more than one element (default: TRUE) |
If 'arg' has an element 'all' (or 'ALL', 'All', etc.), all other
choices are returned. Otherwise see match.arg
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.