View source: R/test_all_equal.R
test_all_equal | R Documentation |
Test whether all values in a vector are equal.
test_all_equal(x, na.rm = FALSE)
x |
Vector to test. |
na.rm |
default: FALSE. exclude NAs from the test. |
Boolean result of the test
Other tests:
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.