Skip to contents

A binary operator to detect unmatched values. The opposite of the %in% operator.

Usage

x %!in% y

Arguments

x

vector or NULL: the values to be compared

y

vector or NULL: the values to be compared against

Examples

1:10 %!in% c(1,3,5,9)
#>  [1] FALSE  TRUE FALSE  TRUE FALSE  TRUE  TRUE  TRUE FALSE  TRUE