Skip to contents

Opens the teaching app of the package in a browser: one screen, "Response to a single session", with sliders for the parameters of the Banister model and the curve, time_to_recover and time_to_peak given by session_response(). The same app is published as a static site that runs in the browser without R, at https://jorgedelro.github.io/trainingmodels/app/ (DECISIONS.md, D-031).

Usage

run_app(...)

Arguments

...

Arguments passed to shiny::runApp(), such as port or launch.browser.

Value

Called for its side effect; returns when the app is stopped.

Details

The app needs the shiny package, which is suggested but not required by trainingmodels.

See also

session_response() and the article "The Banister model".

Examples

if (interactive() && requireNamespace("shiny", quietly = TRUE)) {
  run_app()
}