aboutsummaryrefslogtreecommitdiff
path: root/inst/app/templates/content/estimation/estimates/add-estimators/seq_bayes.html
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2024-06-09 16:01:51 +0000
committerNaeem Model <me@nmode.ca>2024-06-09 16:01:51 +0000
commit9fd931aeeba4ab7bdede1a625f64e7024c2b55aa (patch)
treeb59967df497f898e9b8f7e1cd0e345ed0ff71e36 /inst/app/templates/content/estimation/estimates/add-estimators/seq_bayes.html
parent887c57c423ca8318d482a9f85514b3d6f281a696 (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/seq_bayes.html')
-rw-r--r--inst/app/templates/content/estimation/estimates/add-estimators/seq_bayes.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/inst/app/templates/content/estimation/estimates/add-estimators/seq_bayes.html b/inst/app/templates/content/estimation/estimates/add-estimators/seq_bayes.html
new file mode 100644
index 0000000..028fabc
--- /dev/null
+++ b/inst/app/templates/content/estimation/estimates/add-estimators/seq_bayes.html
@@ -0,0 +1,22 @@
+<div class="row">
+ <!-- Serial interval (mu). -->
+ <div class="col-md">
+ {{ htmlTemplate("templates/content/estimation/estimates/add-estimators/mu.html", id = "seq_bayes") }}
+ </div>
+ <!-- Maximum value of the uniform prior (kappa). -->
+ <div class="col-md mt-2 mt-md-0">
+ <!-- Label and help tooltip. -->
+ <label class="form-label" for="kappa">
+ Maximum prior (&#954;)
+ <sup data-bs-toggle="tooltip" data-bs-placement="right" data-bs-html="true"
+ data-bs-title="The initial maximum belief of <em>R</em><sub>0</sub>. The higher this value, the higher
+ <em>R</em><sub>0</sub> is believed to be prior to the estimation.">
+ [?]
+ </sup>
+ </label>
+ <!-- Input field. -->
+ <input name="kappa" class="form-control" type="text" placeholder="Default: 20">
+ <!-- Warning text for incorrect values. -->
+ <small id="kappa_warn" class="form-text text-primary shiny-text-output"></small>
+ </div>
+</div>