str_fun: Detect the existence of multiple strings

View source: R/str_fun.r

str_funR Documentation

Detect the existence of multiple strings

Description

Detect the existence of multiple strings

Usage

str_fun(x, str = str)

Arguments

x

provide the target variable

str

provide the strings need to be detected

Author(s)

Shanquan CHEN shanquan0301@gmial.com

Examples

x <- c("counts", "outcome", "treatment")
str_fun(x, str = c("cou", "ment"))

shanquan0301/DataDescription documentation built on March 13, 2024, 2:49 a.m.