conv_hep_liverfail | R Documentation |
Parse entries that indicate the presence of liver failure
conv_hep_liverfail(vec)
vec |
a character vector to parse |
returns TRUE if case-insensitive "yes" is detected in the character vector.
a logical vector
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.