diff options
author | Naeem Model <me@nmode.ca> | 2024-06-09 16:01:51 +0000 |
---|---|---|
committer | Naeem Model <me@nmode.ca> | 2024-06-09 16:01:51 +0000 |
commit | 9fd931aeeba4ab7bdede1a625f64e7024c2b55aa (patch) | |
tree | b59967df497f898e9b8f7e1cd0e345ed0ff71e36 /inst/app/templates/content/estimation/estimates/add-estimators.html | |
parent | 887c57c423ca8318d482a9f85514b3d6f281a696 (diff) |
Update Shiny app
- Remove template/logic for single data entry
- Change 'Add estimators' to 'About estimators'; adding estimators and viewing estimates are now done in the same tab
- Swap rows and columns in estimates table (estimators as row names, datasets as column names)
- Add a separate column for the serial interval to the estimates table
- Add plots for daily and weekly data using the Plotly library
- Remove italics from the subscript in all occurences of 'R_0'
- Fix code/text formatting
Diffstat (limited to 'inst/app/templates/content/estimation/estimates/add-estimators.html')
-rw-r--r-- | inst/app/templates/content/estimation/estimates/add-estimators.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/inst/app/templates/content/estimation/estimates/add-estimators.html b/inst/app/templates/content/estimation/estimates/add-estimators.html new file mode 100644 index 0000000..60111c7 --- /dev/null +++ b/inst/app/templates/content/estimation/estimates/add-estimators.html @@ -0,0 +1,16 @@ +<h4>Add estimators</h4> +<form class="my-3"> + <!-- Dropdown to select estimator. --> + <label class="form-label" for="estimator_select">Select estimator:</label> + <select name="estimator_select" class="form-select"> + <option value="id" selected>Incidence Decay (ID)</option> + <option value="idea">Incidence Decay and Exponential Adjustment (IDEA)</option> + <option value="seq_bayes">Sequential Bayes (seqB)</option> + <option value="wp">White and Pagano (WP)</option> + </select> + <!-- Parameters. --> + {{ htmlTemplate("templates/content/estimation/estimates/add-estimators/parameters.html", id = "id") }} + {{ htmlTemplate("templates/content/estimation/estimates/add-estimators/parameters.html", id = "idea") }} + {{ htmlTemplate("templates/content/estimation/estimates/add-estimators/parameters.html", id = "seq_bayes") }} + {{ htmlTemplate("templates/content/estimation/estimates/add-estimators/parameters.html", id = "wp") }} +</form> |