grapes-nin-grapes: Determine non-matches of one vector to another

Description Usage Arguments Value

Description

Determine the members of one vector that are NOT found in another vector. This is equivalent to !(x %in% y), but is a useful shortcut. Borrowed from Stephen Turner.

Usage

1
x %nin% y

Arguments

x

vector to be matched to elements in y.

y

vector to be searched for elements of x.

Value

a logical vector with one element for each element in x


mjdufort/miscHelpers documentation built on Nov. 18, 2018, 9:20 p.m.