Not_in: [!] Operator "not in"

Description Usage Arguments Value Examples

Description

Operator, oposite to %in%.

Usage

1
x %!in% table

Arguments

x

vector or NULL: the values to be matched.

table

vector or NULL: the values NOT to be matched against.

Value

A vector of the same length as x.
%!in%: A logical vector, indicating if a match was located for each element of x: thus the values are TRUE or FALSE and never NA.

Examples

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

GegznaV/spMisc documentation built on April 26, 2020, 5:59 p.m.