conv_app_perforation: Parse entries that indicate a perforation

View source: R/conv_app.R

conv_app_perforationR Documentation

Parse entries that indicate a perforation

Description

Parse entries that indicate a perforation

Usage

conv_app_perforation(vec)

Arguments

vec

a character vector to parse

Details

returns TRUE if case-insensitive "^perforation only|^perforation and abscess" is detected in the character vector.

Value

a logical vector

Examples

x <- c("No mention of perforation or abscess", "Perforation and abscess",
"Perforation only", "Abscess only", NA)

cbind(x, nsqipr:::conv_app_perforation(x))


dylanrussellmd/nsqipr documentation built on Oct. 13, 2023, 11:01 a.m.