conv_hep_liverfail: Parse entries that indicate the presence of liver failure

conv_hep_liverfailR Documentation

Parse entries that indicate the presence of liver failure

Description

Parse entries that indicate the presence of liver failure

Usage

conv_hep_liverfail(vec)

Arguments

vec

a character vector to parse

Details

returns TRUE if case-insensitive "yes" is detected in the character vector.

Value

a logical vector

Examples

x <- c("No-does not meet criteria for PHLF",
"Yes-meets criteria for PHLF",
"Yes-PHLF (receiving clotting factors to maintain INR)",
NA)

cbind(x, nsqipr:::conv_hep_liverfail(x))


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