out: Find unmatched values

%out%R Documentation

Find unmatched values

Description

%out% is an alternative way of using %in% for unmatched values, which provides more similarity with SQL syntax. Returns a logical vector indicating if there is an unmatch or not for its left operand.

Usage

x %out% table

Arguments

x

A vector. Values to be unmatched.

table

A vector. Values to be unmatched against.

Value

A logical vector.

See Also

match()

Examples

1:10 %out% 1:3
letters %out% c("a", "e", "i", "o", "u")

botan/bfun documentation built on June 15, 2022, 8:44 a.m.