%not_in% {upstartr}R Documentation

Opposite of %in%

Description

Given vectors A and B, returns only the entities from vector A that don't occur in vector B.

Usage

x %not_in% table

Arguments

x

The vector you want to check.

table

Table in which to do lookups against x.

Value

Same form of return as %in% — except it will return only elements on the lhs that aren't present on the rhs

Examples

c(1, 2, 3, 4, 5) %not_in% c(4, 5, 6, 7, 8)


[Package upstartr version 0.1.2 Index]