isSubset: Check subset relation on two vectors
Description
Checks if all elements of x are contained in y.
Usage
isSubset(x, y, strict = FALSE)
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.
Arguments
- x
[vector]
Source vector.
- y
[vector]
Vector of the same mode as x.
- strict
[logical(1)]
Checks for strict/proper subset relation.