Syntax for the opposite of %in%

x %notin% table

Arguments

x

values to be matched

table

the values to be matched against

Examples

seq(1,5,1) %notin% seq(3,7,1)
#> [1]  TRUE  TRUE FALSE FALSE FALSE