powered by
Highlight a road and its cases. See cholera::roads for numerical IDs and vignette("road.names") for details.
cholera::roads
vignette
streetNumberLocator(road.number, zoom = FALSE, radius = 1, cases = "anchors", add.title = TRUE, add.pump = TRUE, vestry = FALSE, highlight = TRUE, unit = "meter", time.unit = "second", walking.speed = 5)
Numeric or integer. A whole number between 1 and 528.
Logical.
Numeric. Controls the degree of zoom.
Character. Plot cases: NULL, "anchors" or "all".
NULL
Logical. Include title.
Logical. Include nearby pumps.
Logical. TRUE uses the 14 pumps from the Vestry report. FALSE uses the 13 in the original map.
TRUE
FALSE
Logical. Highlight selected road.
Character. Unit of measurement: "meter" or "yard". Default is NULL, which returns the map's native scale.
Character. "hour", "minute", or "second".
Numeric. Walking speed in km/hr.
A base R graphics plot.
roads, road.segments, streetNameLocator, vignette("roads")
roads
road.segments
streetNameLocator
vignette("roads")
# NOT RUN { streetNumberLocator(243) streetNumberLocator(243, zoom = TRUE) streetNumberLocator(243, zoom = TRUE, radius = 0) # }
Run the code above in your browser using DataLab