%inn% {Rapi}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)

[Package Rapi version 1.0.5 Index]