This function is a convenience wrapper to negate the %in%
operator in R.
Arguments
- x
The value(s) to be checked.
- table
The vector to be checked against.
Value
A logical vector indicating if elements of x are not in table.
Examples
x <- c(1, 2, 3)
table <- c(2, 3, 4)
x %notin% table # Returns TRUE, as 1 is not in table
#> [1] TRUE FALSE FALSE