R/helper_functions.R
preprocess_t_dd.Rd
Preprocess t_dd function
preprocess_t_dd( df, levels = c("PROGRESSIVE DISEASE", "ADVERSE EVENT", "OTHER", "<Missing>"), labels = c("Progressive Disease", "Adverse Events", "Other", "<Missing>") )
Input dataframe
factor levels
factor labels
dataframe