Determines a Clavien-Dindo classification from post-operative complication columns and binds an additional column to the supplied data frame.

add_dindo(df)

Arguments

df

a data frame containing any post-operative complication columns.

Value

a data frame

Examples

supinfec <- c(TRUE, FALSE, FALSE) returnor <- c(FALSE, TRUE, FALSE) othseshock <- c(FALSE, FALSE, TRUE) df <- data.frame(supinfec, returnor, othseshock)