grapes-inn-grapes: %inn%

%inn%R Documentation

%inn%

Description

Checks if the second parameter includes the first one as a value, a column name, or a name.

Usage

x %inn% table

Arguments

x

Character to check if it exists in a vector or list.

table

List, data frame, or any vector.

Value

Logical value TRUE if it exists, FALSE if it does not.

Examples

.check <- "a" %inn% data.frame(a = 1:5)

Rapi documentation built on May 29, 2024, 2:34 a.m.