Skip to contents

A standalone Shiny app where users compare pairs of risky activities and guess which carries more micromort risk. Built with bslib cards for a modern UI.

Usage

launch_quiz(n_pairs = NULL, ...)

Arguments

n_pairs

Number of question pairs to offer as options (5 or 10). If NULL (default), the user chooses on the instructions page.

...

Additional arguments passed to shiny::shinyApp().

Value

A Shiny app object (runs interactively).

Examples

if (interactive()) {
  launch_quiz()
}