add_dindo: Add Clavien-Dindo classification column

Description Usage Arguments Value Examples

View source: R/util-cols.R

Description

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

Usage

1

Arguments

df

a data frame containing any post-operative complication columns.

Value

a data frame

Examples

1
2
3
4
supinfec <- c(TRUE, FALSE, FALSE)
returnor <- c(FALSE, TRUE, FALSE)
othseshock <- c(FALSE, FALSE, TRUE)
df <- data.frame(supinfec, returnor, othseshock)

dylanrussellmd/nsqipBileSpill documentation built on Dec. 20, 2021, 2:17 a.m.