snowMap | R Documentation |
Plot John Snow's cholera map.
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, ...)
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. |
A base R graphics plot.
Uses amended version of Dodson and Tobler's data included in this package.
snowMap() snowMap(vestry = TRUE, stacked = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.