add_dindo.Rd
Determines a Clavien-Dindo classification from post-operative complication columns and binds an additional column to the supplied data frame.
add_dindo(df)
df | a data frame containing any post-operative complication columns. |
---|
a data frame
supinfec <- c(TRUE, FALSE, FALSE) returnor <- c(FALSE, TRUE, FALSE) othseshock <- c(FALSE, FALSE, TRUE) df <- data.frame(supinfec, returnor, othseshock)