Identifies the maximum grade of each side effect and its corresponding timepoint.
Usage
get_max_side_effects(
df,
endpoints,
max_grade = 0,
export_to_excel = FALSE,
file_name = "max_side_effects.xlsx"
)
Examples
if (FALSE) { # \dontrun{
endpoints <- c("bladder_pain", "gastro_diarrhea")
result <- get_max_side_effects(patient_data, endpoints, max_grade=2)
} # }