cholera (version 0.8.0)

addWhitehead: Add Rev. Henry Whitehead's Broad Street pump neighborhood.

Description

A circle (polygon), centered around a desired pump with a radius of 210 yards. The Broad Street pump is the default.

Usage

addWhitehead(pump = "Broad Street", radius = 210, distance.unit = "yard",
  color = "black", line.type = "solid", vestry = FALSE,
  add.subtitle = FALSE, walking.speed = 5)

Value

Adds a circle (polygon) to a graphics plot.

Arguments

pump

Character or Numeric. Name (road name) or numerical ID of selected pump. See pumps or pumps.vestry.

radius

Numeric. Distance from a pump.

distance.unit

Character. Unit of distance: "meter", "yard" or "native". "native" returns the map's native scale. See vignette("roads") for information on conversion.

color

Character. Color of circle.

line.type

Character. Circle line type.

vestry

Logical. TRUE uses the 14 pumps and locations from Vestry report. FALSE uses original 13 pumps.

add.subtitle

Logical. Add subtitle with estimated "walking" time in seconds.

walking.speed

Numeric. Walking speed in km/hr.

Examples

Run this code
snowMap(add.landmarks = FALSE)
addWhitehead()

Run the code above in your browser using DataLab