Description Usage Arguments Details Value Examples
Determines if an element of a vector is an option flag (as opposed to a value ) by checking against the option style
1 2 3 | is_flag(x)
which.flag(x)
|
x |
vector of options, for example |
is_flag
and which.flag
are internal functions not
expected to be called directly.
They are used to identify which elements of the option vector are
option names (as opposed to option values). Options are identified by
getOptions('optigrab')$style$flag_test
. By defailt, optigrab
follows GNU-style command line arguments, i.e. those beginning with
"–" or "-" and are set at the time of package loading.
logical. indicating which arguments are flags.
numeric
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.