| is_subset | R Documentation |
Determine whether the first vector is a subset of the second vector
is_subset(x, y)
x |
the first vector |
y |
the second vector |
TRUE if x is a subset of y, or FALSE otherwise. x is
considered a subset of y if all elements of x are also in y,
i.e., if setdiff(x, y) is a vector of length 0.
Michal Burda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.