grapes-w-slash-i-grapes: x with(in/out) y

Description Usage Arguments Examples

Description

x with(in/out) y

Usage

1
2
3
x %w/i% y

x %w/o% y

Arguments

x

Vector or NULL: the values to be matched.

y

Vector or NULL: the values to be matched against.

Examples

1
2
(1:10) %w/i% c(3,7,12) # 3 7
(1:10) %w/o% c(3,7,12) # 1  2  4  5  6  8  9 10

SESman/rbl documentation built on May 9, 2019, 11:10 a.m.