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 July 5, 2025, 5:30 a.m.