grapes-nin-grapes: Negative %in%

%nin%R Documentation

Negative %in%

Description

Returns which values in the left vector are not in the right vector.

Usage

x %nin% table

Arguments

x

Values whose presence will be checked for in table.

table

Values that will yield a FALSE if they exist in x.

Value

A logical vector indicating whether each value of x lacks a match in table

Examples

(1:5) %nin% (1:3)


Spiritspeak/skMisc documentation built on April 12, 2025, 5:40 a.m.