powered by
Test whether all values in a vector are equal.
test_all_equal(x, na.rm = FALSE)
Boolean result of the test
Vector to test.
default: FALSE. exclude NAs from the test.
Other tests: check_double_columns(), check_no_duplicates_in_group(), check_numeric_or_integer_type(), check_posixct_type(), duplicates_in_column()
check_double_columns()
check_no_duplicates_in_group()
check_numeric_or_integer_type()
check_posixct_type()
duplicates_in_column()
test_all_equal(c(5, 5, 5)) test_all_equal(c(5, 6, 3))
Run the code above in your browser using DataLab