conv_pan_delgastric | R Documentation |
Parse a column for type of delayed gastric emptying treatment
conv_pan_delgastric(vec)
vec |
a character vector of values to convert |
NSQIP encodes the pan_delgastric_20140315
column as either no or
having one of multiple interventions. This function extracts those values from
character vectors and factors them.
a factor vector
delgastric <- c("No", "Yes-no oral intake by POD 14",
"Yes-tube to external drainage/NG tube present/reinserted")
nsqipr:::conv_pan_delgastric(delgastric)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.