addWhitehead {cholera} | R Documentation |
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)
Arguments
pump |
Character or Numeric. Name (road name) or numerical ID of selected pump. See |
radius |
Numeric. Distance from a pump. |
distance.unit |
Character. Unit of distance: "meter", "yard" or "native". "native" returns the map's native scale. See |
color |
Character. Color of circle. |
line.type |
Character. Circle line type. |
vestry |
Logical. |
add.subtitle |
Logical. Add subtitle with estimated "walking" time in seconds. |
walking.speed |
Numeric. Walking speed in km/hr. |
Value
Adds a circle (polygon) to a graphics plot.
Examples
snowMap(add.landmarks = FALSE)
addWhitehead()
[Package cholera version 0.8.0 Index]