Skip to contents

Opens a lightweight Shiny interface for interactive exploration of adaptive sample size re-estimation (SSR) scenarios. The app is a thin wrapper over sample_size_nbinom(), gsNBCalendar(), sim_ssr_nbinom(), and summarize_ssr_sim(), so the statistical computations remain in the package.

Usage

run_ssr_shiny(
  display.mode = c("normal", "showcase"),
  launch.browser = interactive()
)

Arguments

display.mode

Character; passed to shiny::runApp(). Defaults to "normal".

launch.browser

Logical; passed to shiny::runApp(). Defaults to interactive().

Value

Invisibly returns the Shiny app object.

Examples

if (FALSE) { # \dontrun{
run_ssr_shiny()
} # }