grapes-notin-grapes: Negation of in

%notin%R Documentation

Negation of in

Description

Negation of in

Usage

x %notin% y

Arguments

x

Values to be matched

y

Values to be matched against.

Details

If y is NULL, then x is TRUE for consistency with %in%. Note that the function uses fmatch internally for performance on large y. Accordingly, y will be modified by adding a .match.hash attribute and thus must not be used in packages where y is a constant, or for things like names of data.table.


hutils documentation built on April 13, 2022, 5:23 p.m.