aboutsummaryrefslogtreecommitdiff
path: root/vignettes/seq_bayes_post.Rmd
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2025-01-29 01:32:27 +0000
committerNaeem Model <me@nmode.ca>2025-01-29 01:32:27 +0000
commit0a8692bf4eaecccb4836cfc4153166cfb2f94711 (patch)
tree2a6659a68ab29192eba6ddcd2216c446720c5d3f /vignettes/seq_bayes_post.Rmd
parent9a08013b8f5aac980b30e3688608e1d4a6d428dd (diff)
Update vignettes and create 'Get started' vignette
Diffstat (limited to 'vignettes/seq_bayes_post.Rmd')
-rw-r--r--vignettes/seq_bayes_post.Rmd9
1 files changed, 5 insertions, 4 deletions
diff --git a/vignettes/seq_bayes_post.Rmd b/vignettes/seq_bayes_post.Rmd
index 7c614ba..4a97874 100644
--- a/vignettes/seq_bayes_post.Rmd
+++ b/vignettes/seq_bayes_post.Rmd
@@ -19,10 +19,11 @@ library(Rnaught)
```
In the Sequential Bayes method, the probability distribution of R0 is updated
-sequentially from one case count to the next, starting from a (discretized) uniform prior. By
-default, the function `seq_bayes` returns the mean of the last updated posterior
-distribution as its estimate of R0. However, by setting the parameter `post` to
-`TRUE`, it is possible to return the final distribution itself:
+sequentially from one case count to the next, starting from a (discretized)
+uniform prior. By default, the function `seq_bayes()` returns the mean of the
+last updated posterior distribution as its estimate of R0. However, by setting
+the parameter `post` to `TRUE`, it is possible to return the final distribution
+itself:
```{r}
# Daily case counts.