Learn R Programming

inops (version 0.0.1)

out: Detect values that don't match

Description

%out% is the negation of %in%, so x %out% y is equivalent to ! x %in% y.

Usage

x %out% table

Arguments

x

vector of values to be matched.

table

vector or list to be matched against.

Value

a logical vector or of the same length as x indicating if each value of x is within the defined subset.

See Also

%in%

Examples

Run this code
# NOT RUN {
iris$Species %in% c("setosa", "versicolor")
iris$Species %out% c("setosa", "versicolor")

# }

Run the code above in your browser using DataLab