Launch a production-ready Shiny dashboard for running heteroscedasticity diagnostics, exploring interactive plots, and experimenting with simulation studies.
Value
A shiny.appobj that can be run with shiny::runApp().
Details
Requires optional packages shiny, DT, and plotly. Excel uploads additionally depend on readxl and exporting interactive graphics relies on htmlwidgets. The dashboard guides users through data preparation, model fitting, diagnostic testing, interactive Plotly visualisations, and a real-time simulation lab for exploring heteroscedastic data-generating processes. Download buttons are provided for both results tables and interactive plots.
Examples
if (interactive() && requireNamespace("shiny", quietly = TRUE) &&
requireNamespace("DT", quietly = TRUE) &&
requireNamespace("plotly", quietly = TRUE)) {
mod <- lm(mpg ~ wt + hp, data = mtcars)
launchDiagnosticDashboard(mod, mtcars)
}