Learn R Programming

operators (version 0.2.0)

notIn: not in

Description

Negation of the %in% operator.

Usage

x %!in% table

Value

Logical vector, negation of the %in% operators on the same arguments.

Arguments

x

The values to be matched

table

The values to not be matched against

Examples

Run this code
1:10 %!in% c(1,3,5,9)

Run the code above in your browser using DataLab