Skip to content

Commit

Permalink
Merge pull request #11 from mrc-ide/new_vignette
Browse files Browse the repository at this point in the history
New vignette
  • Loading branch information
tinigarske authored Mar 21, 2024
2 parents 20b46d0 + d550f63 commit 4d070a5
Showing 1 changed file with 35 additions and 7 deletions.
42 changes: 35 additions & 7 deletions vignettes/popim.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ also retain the input parameters of the basic constructer

#### Create, modify and validate objects of this class

create: [popim_population()], [`read_popim_pop()`], `as_popim_pop()`
create: `popim_population()`, `read_popim_pop()`, `as_popim_pop()`

modify: [apply_vacc()]
modify: `apply_vacc()`

validate: [is_population()]
validate: `is_population()`



Expand Down Expand Up @@ -146,10 +146,38 @@ attributes.

#### Create and validate objects of this class

create: [popim_vacc_activities()], [read_vacc_activities()],
[as_vacc_activities()], [vacc_from_immunity()]
create: `popim_vacc_activities()`, `read_vacc_activities()`,
`as_vacc_activities()`, `vacc_from_immunity()`

modify: [complete_vacc_activities()]
modify: `complete_vacc_activities()`

validate: [is_vacc_activities()]
validate: `validate_vacc_activities()`

## Primary functionality

Once objects holding data on the population and vaccination activities
have been set up, the primary functionality provided by `popim` is to
apply the vaccination activities to the population to evaluate the
population immunity by age over time that results from the given
vaccination activities, which is done with the function
`apply_vacc()`.

using coverage information by preference, doses if coverage isn't available.

put coverage into birth cohort from year of vaccination into the
future (no waning immunity), other assumptions: 100% effectiveness of
the vaccine, 0 wastage.

If pre-existing immunity: explain targeting.

### The inverse

`vacc_from_immunity()`


## Summary & Visualisation

`calc_pop_immunity()`

`plot_pop_size()`, `plot_immunity()`

0 comments on commit 4d070a5

Please sign in to comment.