conv_col_leak_treatment | R Documentation |
Parse a column for type of anastomotic leak intervention
conv_col_leak_treatment(vec)
vec |
a character vector of values to convert |
NSQIP encodes the col_anastomotic
column as having one of multiple interventions.
This function extracts those values from character vectors and factors them.
a factor 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)
nsqipr:::conv_col_leak_treatment(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.