View source: R/ShinySimulatorGlobal.R
| run_shiny_simulator | R Documentation |
Opens the claims simulator, a Shiny app for running the frequency-severity model of
simulate_function from a form, with charts, a report and saved settings,
without writing any code.
run_shiny_simulator()
A shiny app object (class shiny.appobj). Printing it, as happens when
run_shiny_simulator() is called at the console, opens the app; pass it to
shiny::runApp() to choose options such as the port.
simulate_claims and simulate_function, which run
the same model from R code.
if (interactive()) {
run_shiny_simulator()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.