Skip to contents

Checks if all elements of required are present in x.

Usage

includes(x, required)

Arguments

x

A vector of elements.

required

A vector of elements to check for inclusion in x.

Value

A logical value indicating whether all elements of required are present in x (TRUE) or not (FALSE).