nin: Inverse Value Matching

ninR Documentation

Inverse Value Matching

Description

Complement of %in%. Returns the elements of x that are not in y.

Usage

x %!in% table

Arguments

x

The values to be matched. Long vectors are supported.

table

Vector or ‘NULL’: the values to be matched against. Long vectors are not supported.

Examples

1 %!in% 1:10
1 %!in% 2:10
11 %!in% 1:10

lukehannan/lumisc documentation built on May 9, 2022, 12:59 p.m.