Description Usage Arguments Value Author(s)
View source: R/tfse.match_arg.r
Wrapper around match.arg that defaults to ignoring case and trimming white space
1 |
arg |
a character vector (of length one unless several.ok is TRUE) or NULL |
choices |
a character vector of candidate values |
multiple |
logical specifying if arg should be allowed to have more than one element. Defaults to FALSE |
ignore_case |
logical indicating whether to ignore capitalization. Defaults to TRUE |
trim_ws |
logical indicating whether to trim surrounding white space. Defaults to TRUE |
Value(s) matched via partial matching.
Michael Wayne Kearney
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.