View source: R/helper_checkrow.R
helper_checkrow | R Documentation |
Check a vector for particular values
helper_checkrow(
row,
check_type = c("all_equal", "all_not_equal", "any_in"),
check_value,
na_rm = TRUE
)
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 |
If all values of row
are NA, then an NA is returned.
a logical vector with the result of the check
Other helper functions:
helper_palette()
,
helper_varslist()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.