caseLocator | R Documentation |
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)
case |
Numeric or Integer. Whole number between 1 and 578. |
zoom |
Logical or Numeric.A numeric value >= 0 controls the degree of zoom. The default is 1. |
observed |
Logical. |
latlong |
Logical. Longitude and latitude coordinates |
add.title |
Logical. Include title. |
highlight.segment |
Logical. Highlight case's segment. |
data |
Logical. Output data. |
add |
Logical. Add to existing plot or separate plot. |
col |
Character. Point color. |
vestry |
Logical. |
A base R graphics plot.
caseLocator(290)
caseLocator(290, zoom = TRUE)
caseLocator(290, observed = FALSE)
caseLocator(290, latlong = TRUE, zoom = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.