Automated diagnostic report generation¶
Source: R/reporting.R ยท Help: ?generateDiagnosticReport
Creates a standalone report summarizing heteroscedasticity tests and diagnostic plots for a fitted model.
Usage¶
generateDiagnosticReport(
model,
data = NULL,
output_format = "html",
output_file = NULL,
include_remediation = TRUE,
include_theory = FALSE
)
Arguments¶
model- Fitted
lmmodel or formula. data- Optional data frame if
modelis a formula. output_format- One of
"html","pdf", or"word". output_file- Path to write the report to. If
NULL, a name is generated automatically. include_remediation- Logical; include remediation suggestions if
TRUE. include_theory- Logical; include background theory section.
Value¶
Invisibly returns the path to the generated report.