Skip to contents

Starts the interactive analysis app bundled with dynasimR. The app requires simulation data; either supply a directory via data_dir or leave it NULL to use the bundled example data.

Usage

launch_app(data_dir = NULL, port = 3838, launch.browser = TRUE, ...)

Arguments

data_dir

Character. Path to a directory of simulation outputs. Default NULL = use bundled example data.

port

Integer. Port for the local server. Default 3838.

launch.browser

Logical. Open in browser. Default TRUE.

...

Additional arguments forwarded to shiny::runApp().

Value

Does not return (blocks until the app is closed).

Examples

if (FALSE) { # \dontrun{
launch_app()
launch_app(data_dir = "~/my-simulation/data/raw/")
} # }