conv_hep_bileleakage_intervention | R Documentation |
Parse a column for type of bile leak intervention
conv_hep_bileleakage_intervention(vec)
vec |
a character vector of values to convert |
NSQIP encodes the hep_bileleakage
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-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)
nsqipr:::conv_hep_bileleakage_intervention(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.