sir.library | R Documentation |
Infectious disease time series simulated using sir
,
for use primarily in examples, tests, and vignettes. Users should
not rely on simulation details, which may change between package
versions.
data(sir.e01, package = "fastbeta") # "Example 01", and so on
data(sir.e02, package = "fastbeta")
A “multiple time series” object, inheriting from class
mts
, always a subset of the result of a call
to sir
, discarding transient behaviour.
Simulation parameters may be preserved as attributes.
Scripts sourced by data
to reproduce the simulations
are located in the ‘data’ subdirectory of the fastbeta
installation; see, e.g.
system.file("data", "sir.e01.R", package = "fastbeta")
.
sir
.
data(sir.e01, package = "fastbeta")
str(sir.e01)
plot(sir.e01)
data(sir.e02, package = "fastbeta")
str(sir.e02)
plot(sir.e02)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.