notin: Opposite of '%in%'

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Opposite of %in%: If an element x is not in y, then returns TRUE

Usage

1
x %notin% y

Arguments

x

Element to check if it is in y

y

Element to check if x is in

Details

name notin

Value

Returns the elements of x not in y

Author(s)

Subhrangshu Nandi, PhD Statistics, UW Madison; snandi@wisc.edu or nands31@gmail.com

See Also

%in%

Examples

1
2
3
x <- 3
y <- c(4, 1, 5, 6)
x \%notin\% y

snandi/RFunctionsSN documentation built on May 30, 2019, 5:04 a.m.