sir2popDeter: The deterministic SIR model with two populations.

sir2popDeterR Documentation

The deterministic SIR model with two populations.

Description

The deterministic SIR model with two populations (young/old) and constant population size, uniform prior and Poisson observation.

Format

A fitmodel object, that is a list with the following elements:

Details

  • name character.

  • stateNames character vector.

  • thetaNames character vector.

  • simulate R-function.

  • rPointObs R-function.

  • dprior R-function.

  • dPointObs R-function.

Look at the documentation of fitmodel for more details about each of these elements. You can look at the code of the R-functions by typing seitlDeter$simulate for instance. There are some comments included.


sbfnk/fitR documentation built on July 18, 2023, 3:28 p.m.