Skip to content

Commit

Permalink
Merge pull request #100 from mrc-ide/update_sirmodels.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz authored Feb 3, 2021
2 parents 9317a37 + 1055ef6 commit c1df85b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mcstate
Title: Monte Carlo Methods for State Space Models
Version: 0.4.1
Version: 0.4.2
Authors@R: c(person("Rich", "FitzJohn", role = c("aut", "cre"),
email = "rich.fitzjohn@gmail.com"),
person("Marc", "Baguelin", role = "aut"),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# mcstate 0.4.2

* Fix typo in `sir_models.Rmd`

# mcstate 0.4.1

* New `$fix()` method on `pmcmc_parameters` objects for fixing the value for a subset of parameters before running with `pmcmc` (#98)
Expand Down
2 changes: 1 addition & 1 deletion vignettes/sir_models.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Discretising this model in time steps of width $dt$ gives the following update e
$$\begin{align*}
S_{t+1} &= S_t - n_{SI} \\
I_{t+1} &= I_t + n_{SI} - n_{IR} \\
R_{t+1} &= R_t - n_{IR}
R_{t+1} &= R_t + n_{IR}
\end{align*}$$

where
Expand Down

0 comments on commit c1df85b

Please sign in to comment.