add_preopindependent.Rd
Creates a column that indicates if a patient is preoperatively functionally independent or not.
add_preopindependent(df)
a data frame containing a fnstatus2 column.
fnstatus2
a data frame
df <- data.frame(fnstatus2 = c(1, 2, 3)) df <- df %>% add_preopindependent()