Skip to contents

Launches the mlmr Shiny interface for mixed-effects and multilevel modeling with lme4.

Usage

run_mlmr(launch.browser = TRUE, port = getOption("shiny.port", NULL))

Arguments

launch.browser

Logical; whether to open the app in the default browser.

port

Optional port passed to shiny::runApp.

Details

The app opens with a built-in HSB-style example dataset and a preset model so users can test the complete workflow before uploading their own data. Uploaded data can be provided as CSV, TSV/TXT, Excel, SPSS, SAS, or Stata files when the optional import packages are installed.

The app is intended to guide model specification, estimation, diagnostics, equation display, APA-style tables, and reproducible exports. The strongest current production path is Gaussian two-level and three-level nested mixed-effects models. Use mlm_supported_models() to inspect the current supported, experimental, and planned scope.

Value

Runs the Shiny application. This function is called for its side effect and does not return a modeling object.

Examples

if (interactive()) {
  run_mlmr()
}