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 = 1, observed = TRUE, add.title = TRUE,
  highlight.segment = TRUE, data = FALSE, add = FALSE, col = "red")

Arguments

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. TRUE for observed. FALSE for simulated.

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.

Value

A base R graphics plot.

Examples

caseLocator(290)
caseLocator(290, zoom = TRUE)
caseLocator(290, observed = FALSE)

[Package cholera version 0.8.0 Index]