| matchArg | R Documentation |
This is an extensions to match.arg with support for AssertCollection.
The behavior is very similar to match.arg, except that NULL is not
a valid value for x.
matchArg(x, choices, several.ok = FALSE, .var.name = vname(x), add = NULL)
x |
[ |
choices |
[ |
several.ok |
[ |
.var.name |
[ |
add |
[ |
Subset of choices.
matchArg("k", choices = c("kendall", "pearson"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.