is_subset: Check if one set is a subset of another

View source: R/set_operations.R

is_subsetR 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.


assertions documentation built on June 7, 2023, 6:03 p.m.