no_match: Value matching for absences

Description Usage Arguments Examples

Description

This provides a more succinct and intuitive interface to determine if a value doesn't exist in a table. Avoids difficult to type and read !a %in% b

Usage

1
x %notin% table

Arguments

x

vector or NULL: the values to be matched.

table

vector or NULL: the values to be matched against

Examples

1
2
3
## Not run: 
 filter(mtcars, carb %notin% c(1,3)) 
## End(Not run)

rfordatascience/civitas documentation built on May 25, 2019, 8:18 a.m.