Description Usage Arguments Value Examples
Calculate the generation time for cities or from meteorological stations
1 | applyGenTimeDist(cities, stations, cid10 = "A90", datasource = con, ...)
|
cities |
: vector of geocodes |
stations |
: vector of meteorological stations |
cid10 |
: "A90" for dengue, "A92" for chikungunya, "A92.8" for zika |
datasource |
: sql connection |
ini |
: initial date (Date or epidemiological week) |
end |
: final date (Date or epidemiological week) |
list of generation time distributions matrices
1 2 3 | cid <- getCidades(uf="Rio de Janeiro")$municipio_geocodigo
gt <- applyGenTimeDist(stations = c("SBGL","SBJR"), cid10 = "A90")
system.time(gt <- applyGenTimeDist(cities = cid, cid10 = "A90"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.