grapes-not_in-grapes: Not in

%not_in%R Documentation

Not in

Description

Creating %not_in% with purrr::negate. Adapted from the cool, on going, Your daily dose of purrr from Colin Fay.

Usage

x %not_in% table

Arguments

x

vector or NULL: the values to be matched. Long vectors are supported.

table

vector or NULL: the values to be matched against. Long vectors are not supported.

Value

A logical

References

https://twitter.com/_ColinFay/status/987260548344631298/photo/1

Examples

1 %not_in% 1:10
11 %not_in% 1:10

emilelatour/lamisc documentation built on April 9, 2024, 10:33 a.m.