is.subset: Check subset relation on two vectors.

Description Usage Arguments Value

View source: R/is.subset.R

Description

Check subset relation on two vectors.

Usage

1
is.subset(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 subset relation.

Value

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


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