run_shiny_glm_fitting_tool: Run the generalised linear model fitting application

View source: R/GLMFittingToolGlobal.R

run_shiny_glm_fitting_toolR Documentation

Run the generalised linear model fitting application

Description

Opens a Shiny application that imports data from a CSV file or a database query, fits generalised linear models to it, compares the AIC of stored models, charts actual against predicted values and downloads the model and its predictions.

Usage

run_shiny_glm_fitting_tool()

Details

The formula typed in the application, or read from one of its settings files, is restricted to the columns of the imported data, numbers, the formula operators and a small set of formula functions: I(), log(), exp(), sqrt(), pmin(), pmax(), poly(), factor(), as.factor(), interaction() and offset(). Any other call is refused, so a settings file shared between colleagues cannot run code.

Value

A shiny app object. Printing it, as happens when the function is called at the console, opens the application; it can also be passed to shiny::runApp().

See Also

run_shiny_distribution_fitting_tool and run_shiny_simulator, the package's other applications.

Examples

if (interactive()) {
  run_shiny_glm_fitting_tool()
}

NetSimR documentation built on Sept. 30, 2026, 5:13 p.m.