nin: Find Matching (or Non-Matching) Elements

ninR Documentation

Find Matching (or Non-Matching) Elements

Description

%nin% is a binary operator, which returns a logical vector indicating if there is a match or not for its left operand. A true vector element indicates no match in left operand, false indicates a match.

Usage

x %nin% table

Arguments

x

a vector (numeric, character, factor)

table

a vector (numeric, character, factor), matching the mode of x


scottfrechette/funcyfrech documentation built on Aug. 26, 2022, 9:13 a.m.