egf_shiny: Installed Shiny Applications

View source: R/egf_shiny.R

egf_shinyR Documentation

Installed Shiny Applications

Description

Launches one of the Shiny applications installed with package epigrowthfit. To halt execution, interrupt R by typing Ctrl+C or Esc. An error is thrown if package shiny is not installed.

Usage

egf_shiny(app = c("toplevel", "windowselect"), ...)

Arguments

app

a character string naming an application.

...

optional arguments to runApp.

Details

Currently, two applications are available:

"toplevel"

a tool for the exploring top level nonlinear models implemented in epigrowthfit and their dependence on parameter values. Expected incidence is plotted as a function of time together with simulated incidence time series.

"windowselect"

a tool for viewing collections of incidence time series and interactively selecting suitable fitting windows. Users upload time series data in .rds format and download the results of their session in the same format. The result is a list containing arguments to be passed directly to egf. The element of the list specifying fitting windows can itself be uploaded to a session, allowing users to modify or delete existing windows and define new ones.

Value

The value of the runApp call, though typically execution is terminated before the function can return.

Examples

## Not run: 
egf_shiny("toplevel")
egf_shiny("windowselect")

## End(Not run)

davidearn/epigrowthfit documentation built on Feb. 22, 2025, 12:44 p.m.