make_anesthes_other_long | R Documentation |
Convert anesthes_other column from wide to long format
make_anesthes_other_long(df)
df |
a data.table If "anesthes_other" is a column in Note that this does not alter the "anesthes" column or include the anesthetic technique stored in the "anesthes" column in the resulting "anesthes_other" data table. |
a data.table
x <- data.table::data.table(
anesthes_other = c("General","General, Spinal", "General, Spinal, MAC/IV Sedation", NA)
)
nsqipr:::make_anesthes_other_cols(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.