str_detect2: Str_detect with NA handling

Description Usage Arguments Value

View source: R/str_detect2.R

Description

Str_detect with NA handling

Usage

1
str_detect2(string, pattern, default = F)

Arguments

string

Input vector. Either a character vector, or something coercible to one.

pattern

Pattern to look for. See str_detect .

default

a default value to be used if string is NA

Value

a logical vector, assuming default is set to logical. Using a string or numeric value will coerce the value to the class of default.


crazybilly/muadc documentation built on March 6, 2021, 4:15 p.m.