egf_shiny | R Documentation |
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.
egf_shiny(app = c("toplevel", "windowselect"), ...)
app |
a character string naming an application. |
... |
optional arguments to |
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.
The value of the runApp
call, though typically
execution is terminated before the function can return.
## Not run:
egf_shiny("toplevel")
egf_shiny("windowselect")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.