arg_match0_integer {pretestcad} | R Documentation |
Match an argument to a integer vector but skip NA
Description
This is equivalent to arg_match
but an
integer vector is compared and skip NA
.
Usage
arg_match0_integer(
arg,
values,
allow_na = TRUE,
arg_nm = rlang::caller_arg(arg),
error_call = rlang::caller_env()
)
Arguments
arg |
A symbol referring to an argument accepting strings. |
values |
A character vector of possible values that |
allow_na |
Input boolean to determine if |
arg_nm |
Same as |
error_call |
The execution environment of a currently
running function, e.g. |
Value
The integer supplied to arg
.
[Package pretestcad version 1.0.2 Index]