grapes-nin-grapes: "Not in" for inverse value matching

Description Usage Arguments Value TODO Examples

Description

Like %in%, this function compares two vectors to see if any of the items in the left vector are not present in the right vectors, essentially isolating what is missing using a logicical vector.

Usage

1
x %nin% table

Arguments

x

a vector (numeric, character, factor)

table

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

Value

A logical Vector of values from x that do not have an associated match in y.

TODO

Examples

1
which(c(1:5,1:5,11) %nin% 1:10)

JamesDalrymple/wccmh documentation built on May 7, 2019, 10:20 a.m.