test_all_equal {vvauditor} | R Documentation |
Test all equal
Description
Test whether all values in a vector are equal.
Usage
test_all_equal(x, na.rm = FALSE)
Arguments
x |
Vector to test. |
na.rm |
default: FALSE. exclude NAs from the test. |
Value
Boolean result of the test
See Also
Other tests:
check_double_columns()
,
check_no_duplicates_in_group()
,
check_numeric_or_integer_type()
,
check_posixct_type()
,
duplicates_in_column()
Examples
test_all_equal(c(5, 5, 5))
test_all_equal(c(5, 6, 3))
[Package vvauditor version 0.6.0 Index]