Learn R Programming

nuggets (version 1.2.0)

is_subset: Determine whether the first vector is a subset of the second vector

Description

Determine whether the first vector is a subset of the second vector

Usage

is_subset(x, y)

Value

TRUE if x is a subset of y or FALSE otherwise.

Arguments

x

the first vector

y

the second vector

Author

Michal Burda