%anyin% {bruceR}R Documentation

A simple extension of %in%.

Description

A simple extension of %in%.

Usage

x %anyin% vector

Arguments

x

Numeric or character vector.

vector

Numeric or character vector.

Value

TRUE or FALSE.

See Also

%in%, %allin%, %nonein%, %partin%

Examples

3:4 %anyin% 1:3  # TRUE
4:5 %anyin% 1:3  # FALSE


[Package bruceR version 2024.6 Index]