caseLocator {cholera} | R Documentation |
Locate case by numerical ID.
Description
Highlight selected observed or simulated case and its home road segment.
Usage
caseLocator(case = 1, zoom = FALSE, observed = TRUE, latlong = FALSE,
add.title = TRUE, highlight.segment = TRUE, data = FALSE,
add = FALSE, col = "red", vestry = FALSE)
Arguments
case |
Numeric or Integer. Whole number between 1 and 578. |
zoom |
Logical or Numeric. Positive numbers zoom in; negative numbers zoom out. |
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. |
Value
A base R graphics plot.
Examples
caseLocator(290)
caseLocator(290, zoom = TRUE)
caseLocator(290, observed = FALSE)
caseLocator(290, latlong = TRUE, zoom = TRUE)
[Package cholera version 0.9.1 Index]