conv_hep_bileleakage | R Documentation |
Parse entries that indicate the presence of a bile leak
conv_hep_bileleakage(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",
"Yes-clinical diagnosis, drain continued on or after POD3",
"Yes-clinical diagnosis, percutaneous drainage performed",
"Yes-clinical diagnosis, reoperation performed",
"Yes-clinical diagnosis, spontaneous wound drainage",
"Yes-persistent drainage, drain continued on or after POD3",
"Yes-persistent drainage, percutaneous drainage performed",
"Yes-persistent drainage, reoperation performed",
NA)
cbind(x, nsqipr:::conv_hep_bileleakage(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.