Learn R Programming

cholera (version 0.5.1)

snowMap: 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.title = TRUE, ...)

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.title

Logical. Add title.

...

Additional plotting parameters.

Value

A base R graphics plot.

See Also

addLandmarks, addKernelDensity, addLandmarks, addPlaguePit, addVoronoi. addWhitehead

Examples

Run this code
# NOT RUN {
snowMap()
snowMap(vestry = TRUE, stacked = FALSE)
# }

Run the code above in your browser using DataLab