R/helper_functions.R
preprocess_t_ds.Rd
Preprocess t_ds function
preprocess_t_ds( df, levels = c("Alive: On Treatment", "Alive: In Follow-up", "<Missing>"), labels = c("Alive: On Treatment", "Alive: In Follow-up", "<Missing>") )
Input dataframe
factor levels
factor labels
dataframe