Skip to contents

Processes EMBRACE-II data to identify patients with side effects meeting a specified grade threshold, then generates formatted Excel reports for clinical review.

Usage

generate_morbidity_reports(
  grade_threshold = 4,
  output_dir = paste0("Grade", grade_threshold, "/")
)

Arguments

grade_threshold

Numeric, the CTCAE grade threshold to filter by (default: 4)

output_dir

Character, the output directory for Excel reports (default: "Gradethreshold/")

Value

Invisible NULL, called for its side effect of generating Excel reports

Examples

if (FALSE) { # \dontrun{
# Generate reports for Grade 4 events
generate_morbidity_reports(4)

# Generate reports for Grade 3 events with custom output directory
generate_morbidity_reports(3, "Grade3_Reports/")
} # }