epiworldrshiny-ui {epiworldRShiny} | R Documentation |
epiworldRShiny UI builder functions
Description
All functions in this section are for internal use only. They are used to build the UI for the epiworldRShiny app.
Usage
text_input_disease_name(model_name)
slider_prevalence(model_name)
numeric_input_ndays(model_name)
slider_input_rate(model_name, rate_name, value, maxval = 1, input_label = NULL)
network_input(model_name)
npis_input(model_name)
seed_input(model_name)
models_setup()
population_input(model_name)
simulate_button(model_name)
Arguments
model_name |
Name of the epiworldR model. |
rate_name |
Name of the rate. |
value |
Initial value for the slider. |
maxval |
Maxiumum value for the slider. |
input_label |
Aids in creating the appropriate slider name. |
Value
Unless otherwise specified, returns an object of class shiny.tag.
-
network_input
returns an object of class shiny::tagList (shiny.tag.list
).
-
npis_input
returns an object of class shiny::tagList (shiny.tag.list
).
-
models_setup
returns an object of class list.
-
population_input
returns an object of class shiny.tag.list.
Examples
text_input_disease_name("SEIRD")
slider_prevalence("SEIRD")
numeric_input_ndays("SEIRD")
slider_input_rate("SEIRD", "transmission", value = 0.3, maxval = 1,
input_label = NULL)
network_input("SEIRD")
npis_input("SEIRD")
seed_input("SEIRD")
models_setup()
population_input("SEIRD")
simulate_button("SEIRD")
[Package epiworldRShiny version 0.1-0 Index]