is_subset {assertions} | R Documentation |
Check if one set is a subset of another
Description
Determines if all elements in set x
are also present in set y
.
Usage
is_subset(x, y)
Arguments
x |
A numeric, character, or logical vector. |
y |
A numeric, character, or logical vector. |
Value
A logical value indicating whether x
is a subset of y
.
[Package assertions version 0.1.0 Index]