out: Detect values that don't match

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
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

1
2
iris$Species %in% c("setosa", "versicolor")
iris$Species %out% c("setosa", "versicolor")

inops documentation built on Nov. 19, 2019, 5:08 p.m.