%ni% {MDMA}R Documentation

Inverse value matching

Description

Evaluates whether the left hand side argument is not in the right hand side argument.

[Stable]

Usage

lhs %ni% rhs

Arguments

lhs

left hand side.

rhs

right hand side.

Details

The %ni% function negates the %in% operator.

Value

The function returns a vector of the same length as lhs.

Author(s)

Mathijs Deen

Examples

c(1,2,3) %ni% c(1,2)

[Package MDMA version 1.1.0 Index]