Skip to content

Commit 79bd614

Browse files
committed
Tweak SISe documentation
1 parent abe7511 commit 79bd614

3 files changed

Lines changed: 30 additions & 10 deletions

File tree

R/SISe.R

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ select_matrix_SISe <- function() {
5050
##' Create an \acronym{SISe} model to be used by the simulation
5151
##' framework.
5252
##'
53-
##' The \acronym{SISe} model contains two compartments; number of
54-
##' susceptible (S) and number of infectious (I). Additionally, it
55-
##' contains an environmental compartment to model shedding of a
56-
##' pathogen to the environment. Consequently, the model has two state
57-
##' transitions,
53+
##' The \acronym{SISe} model contains two compartments: number of
54+
##' susceptible (S) and number of infectious (I)
55+
##' individuals. Additionally, it contains a continuous environmental
56+
##' compartment to model shedding of a pathogen to the
57+
##' environment. Consequently, the model has two state transitions:
5858
##'
5959
##' \deqn{S \stackrel{\upsilon \varphi S}{\longrightarrow} I}{
6060
##' S -- upsilon phi S --> I}
@@ -201,6 +201,16 @@ SISe <- function(u0,
201201
##' another, potentially introducing infected animals.}
202202
##' }
203203
##'
204+
##' The \code{select} column in the returned data frame is mapped to
205+
##' the columns of the internal select matrix (\code{select_matrix_SISe}):
206+
##' \itemize{
207+
##' \item \code{select = 1} corresponds to \strong{Enter} events,
208+
##' targeting the Susceptible (S) compartment.
209+
##' \item \code{select = 2} corresponds to \strong{Exit} and
210+
##' \strong{External Transfer} events, targeting all compartments
211+
##' (S and I).
212+
##' }
213+
##'
204214
##' Events are distributed across all 1,600 herds over the 4-year
205215
##' period, reflecting realistic patterns of cattle demographic change
206216
##' and herd-to-herd movement.

man/SISe.Rd

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

man/events_SISe.Rd

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)