Skip to contents

Starts the interactive Shiny dashboard for exploring R4SUB evidence, pillar scores, SCI, and sensitivity analysis.

Usage

r4sub_app(evidence = NULL, theme = r4sub_theme(), ...)

Arguments

evidence

An optional pre-loaded evidence data.frame. If NULL, the app shows an upload interface.

theme

A bslib::bs_theme object. Default uses r4sub_theme().

...

Additional arguments passed to shiny::shinyApp().

Value

A Shiny app object (returned invisibly; runs interactively).

Examples

if (interactive()) {
  # With pre-loaded demo evidence
  r4sub_app(evidence = generate_demo_evidence())

  # With the upload interface
  r4sub_app()
}