is.superset: Check superset relation on two vectors.

Description Usage Arguments Value

View source: R/is.superset.R

Description

Check superset relation on two vectors.

Usage

1
is.superset(x, y, strict = FALSE)

Arguments

x

[vector]
Source vector.

y

[vector]
Vector of the same mode as x.

strict

[logical(1)]
Checks for strict/proper superset relation.

Value

[logical(1)] TRUE if each element of y is also contained in x, i. e., if y is a subset of x and FALSE otherwise.


jakobbossek/JBmisc documentation built on May 18, 2019, 9:08 a.m.