conv_col_anastomotic | R Documentation |
Parse entries that indicate the presence of an anastomotic leak
conv_col_anastomotic(vec)
vec |
a character vector to parse |
returns TRUE if case-insensitive "yes" or "leak' is detected in the character vector.
a logical vector
x <- c("No", "Yes-reoperation", "Yes-percutaneous intervention",
"Yes-no intervention required",
"No definitive diagnosis of leak/leak related abscess",
"Leak, treated w/ reoperation", "Leak, treated w/ interventional means",
"Leak, no treatment intervention documented",
"Leak, treated w/ non-interventional/non-operative means", NA)
cbind(x, nsqipr:::conv_col_anastomotic(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.