snowMap: Plot John Snow's cholera map.

View source: R/snowMap.R

snowMapR 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. TRUE uses the 14 pumps from the map in the Vestry Report. FALSE uses the 13 pumps from the original map.

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)

cholera documentation built on March 7, 2023, 5:31 p.m.