
Last chance! 50% off unlimited learning
Sale ends in
Highlights the selected road segment and its cases.
segmentLocator(id = "216-1", zoom = 0.5, cases = "address",
distance.unit = "meter", time.unit = "second", walking.speed = 5,
add.title = TRUE, add.subtitle = TRUE, highlight = TRUE,
cex.text = 0.67)
A base R graphics plot.
Character. A concatenation of a street's numeric ID, a whole number between 1 and 528, and a second number to identify the segment.
Logical or Numeric. A numeric value >= 0 controls the degree of zoom. The default is 0.5.
Character. Plot cases: NULL
, "address" or "fatality".
Character. Unit of distance: "meter", "yard" or "native". "native" returns the map's native scale. See vignette("roads")
for information on conversion.
Character. "hour", "minute", or "second".
Numeric. Walking speed in km/hr.
Logical. Print title.
Logical. Print subtitle.
Logical. Highlight selected road and its cases.
Numeric.
segmentLocator("190-1")
segmentLocator("216-1")
segmentLocator("216-1", distance.unit = "yard")
Run the code above in your browser using DataLab