op_match function

Matching operator (x not in y) oposed to the %in%-operator (x in y)

Matching operator (x not in y) oposed to the %in%-operator (x in y)

Matching operator

x %ni% y

Arguments

  • x: vector
  • y: vector of same type as x

Returns

A logical vector.

Examples

1:10 %ni% c(1,5,10)

See Also

match

Author(s)

Klaus K. Holst

  • Maintainer: Klaus K. Holst
  • License: GPL-3
  • Last published: 2025-01-12