Learn R Programming

infix (version 0.1.0)

nomatch: Value (non) Matching

Description

The logical negation of %in%.

Usage

x %!in% table

Arguments

x

Vector or NULL: the values to be (not) matched.

table

Vector or NULL: the values to be (not) matched against.

Examples

Run this code
# NOT RUN {
4 %!in% 1:3 # returns TRUE
# }

Run the code above in your browser using DataLab