Learn R Programming

operators (version 0.1-8)

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

Author

Romain Francois <francoisromain@free.fr>

Examples

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

Run the code above in your browser using DataLab