snowMap {cholera} | R Documentation |
Plot John Snow's cholera map.
Description
Plot John Snow's cholera map.
Usage
snowMap(vestry = FALSE, stacked = TRUE, add.cases = TRUE,
add.landmarks = FALSE, add.pumps = TRUE, add.roads = TRUE,
add.frame = TRUE, main = NA, case.col = "gray", case.pch = 15,
latlong = FALSE, ...)
Arguments
vestry |
Logical. |
stacked |
Logical. Use stacked fatalities. |
add.cases |
Logical. Add observed cases. |
add.landmarks |
Logical. Add landmarks. |
add.pumps |
Logical. Add pumps. |
add.roads |
Logical. Add roads. |
add.frame |
Logical. Add map frame. |
main |
Character. Title of graph. |
case.col |
Character. Color of fatalities. |
case.pch |
Character. Color of fatalities. |
latlong |
Logical. Use estimated longitude and latitude. |
... |
Additional plotting parameters. |
Value
A base R graphics plot.
Note
Uses amended version of Dodson and Tobler's data included in this package.
Examples
snowMap()
snowMap(vestry = TRUE, stacked = FALSE)
[Package cholera version 0.8.0 Index]