The function get_data
retrieves and attaches to the global envioronment
- The serological data
- The contact matrix
- Fitted mortality data
- Population size
for a given country. To retrieve data for Italy we call
get_data(code = "IT")
This script contains plots of data provided by load_data.R
This contains the function FoI
which calculates the force of infection. It takes the following arguments
| Variable | Description | Default value |
|:--------:|-------------|---------------|
| age
| Age of serological information | |
| y
| Serological information given as indicator variable | |
| rij
| Contact matrix | |
| muy
| Mortality | |
| N
| Population size at demographic equilibrium | |
| D
| Duration | |
| Lmax
| Life expectancy | |
| A
| Duration of maternal immunity | |
| propFac
| Desired proportionality function. Must be one of "constant"
, "loglin"
, "ext_loglin"
, or "logpoly"
| Defaults to "constant"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.