Description Usage Arguments Examples
Takes a fully susceptible population and
proportion of people vaccinated per location code
and allocates an appropriate amount of people to
recovered.
For more information, look at vignette("including_vax","spread")
.
1 | convert_blank_seiiar_with_vax(seiiar, vax)
|
seiiar |
SEIIAR data.table representing a fully susceptible population |
vax |
data.table containing proportion of people vaccinated per location code |
1 2 3 4 5 6 7 8 9 10 11 | vax_measles <- fhidata::norway_childhood_vax[
year==2016 &
stringr::str_detect(location_code,"^municip") &
vax=="measles",
c("location_code","proportion")
]
norway_seiiar_measles_noinfected_2017 <- spread::convert_blank_seiiar_with_vax(
seiiar = spread::norway_seiiar_noinfected_2017,
vax = vax_measles
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.