Learn R Programming

operators (version 0.1-8)

notIn: Not in

Description

Negation of the %in% operator.

Usage

x %!in% table

Arguments

x
The values to be matched
table
The values to not be matched against

Value

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

Examples

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

Run the code above in your browser using DataLab