powered by
Highlight selected observed or simulated case and its home road segment.
caseLocator(case = 1, zoom = FALSE, observed = TRUE, latlong = FALSE, add.title = TRUE, highlight.segment = TRUE, data = FALSE, add = FALSE, col = "red", vestry = FALSE)
A base R graphics plot.
Numeric or Integer. Whole number between 1 and 578.
Logical or Numeric. Positive numbers zoom in; negative numbers zoom out.
Logical. TRUE for observed. FALSE for simulated.
TRUE
FALSE
Logical. Longitude and latitude coordinates
Logical. Include title.
Logical. Highlight case's segment.
Logical. Output data.
Logical. Add to existing plot or separate plot.
Character. Point color.
Logical. TRUE uses the 14 pumps from the Vestry report. FALSE uses the 13 in the original map.
caseLocator(290) caseLocator(290, zoom = TRUE) caseLocator(290, observed = FALSE) caseLocator(290, latlong = TRUE, zoom = TRUE)
Run the code above in your browser using DataLab