is_one_of: Test if value in x is one of several values

View source: R/transforms_time.R

is_one_ofR Documentation

Test if value in x is one of several values

Description

Test if value in x is one of several values

Usage

is_one_of(x, ...)

Arguments

x

A vector to test

...

quoted strings to test against

Details

This is a functionalized form of x

Value

A vector of logical (TRUE or FALSE) of length(x)

Examples

is_one_of(letters[1:5],"c","g")

qPharmetra/PMDatR documentation built on April 7, 2024, 5:42 p.m.