helper_checkrow {whomds} | R Documentation |
Check a vector for particular values
Description
Check a vector for particular values
Usage
helper_checkrow(
row,
check_type = c("all_equal", "all_not_equal", "any_in"),
check_value,
na_rm = TRUE
)
Arguments
row |
a vector of data |
check_type |
a string indicating the type of check to do on |
check_value |
a vector of values to check against |
na_rm |
logical indicating whether or not to perform check after removing NAs, passed to argument |
Details
If all values of row
are NA, then an NA is returned.
Value
a logical vector with the result of the check
See Also
Other helper functions:
helper_palette()
,
helper_varslist()
[Package whomds version 1.1.1 Index]