Skip to content

Commit aaa5568

Browse files
documentation edits
1 parent 1ef59e1 commit aaa5568

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

R/mp_tmb_calibrator.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
#' and the time period associated with each time step. The default is `NULL`,
3939
#' which takes simulation bounds from the `data`. You can use
4040
#' \code{\link{mp_sim_bounds}} and \code{\link{mp_sim_offset}} to be more
41-
#' specific.
41+
#' specific. See the example on the \code{\link{mp_optimize}} help file for
42+
#' an illustration the use of \code{\link{mp_sim_offset}}.
4243
#' @param save_data Save a copy of the data in the calibrator object that is
4344
#' returned, so that you do not need to pass the data manually to downstream
4445
#' functions like \code{\link{mp_forecaster}}. It the resulting calibrator

inst/starter_models/sir_waning/README.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "SIR with Waning Immunity"
2+
title: "SIR with Waning Immunity (SIRS)"
33
index_entry: "A basic SIR model with a flow from R back to S"
44
bibliography: ../../references.bib
55
link-citations: TRUE
@@ -22,7 +22,7 @@ knitr::opts_chunk$set(
2222
system.file("utils", "round-coef.R", package = "macpan2") |> source()
2323
```
2424

25-
Endemic pathogens can sometimes be modelled by sending R back to S, thereby controlling susceptible depletion such that new infections keep arising indefinitely. This is an extension of the [sir](https://github.com/canmod/macpan2/tree/main/inst/starter_models/sir) model to include such immunity waning.
25+
Endemic pathogens can sometimes be modelled by sending R back to S, thereby controlling susceptible depletion such that new infections keep arising indefinitely. This is an extension of the [sir](https://github.com/canmod/macpan2/tree/main/inst/starter_models/sir) model to include immunity waning. This model is commonly called the SIRS model.
2626

2727
# Packages Used and Settings
2828

man/mp_tmb_calibrator.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)