Learn R Programming

pkgcond (version 0.1.0)

not-in: Not in infix operator

Description

The same as %in% but negated.

Usage

x %!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.

Examples

Run this code
# NOT RUN {
'A' %!in% letters #TRUE letters are lower case.
'A' %!in% LETTERS #FALSE LETTERS are upper case.

# }

Run the code above in your browser using DataLab