Learn R Programming

cholera (version 0.9.1)

addIndexCase: Highlight index case at 40 Broad Street.

Description

Highlight index case at 40 Broad Street.

Usage

addIndexCase(latlong = FALSE, cex = 2, col = "red", pch = 1,
  add.label = FALSE, text.size = 0.5)

Value

Add base R point and (optionally) text to a graphics plot.

Arguments

latlong

Logical.

cex

Numeric. Size of point.

col

Character. Color of point.

pch

Numeric. Type of of point.

add.label

Logical. Add text annotation: "40 Broad Street"

text.size

Numeric. Size of text label.

Examples

Run this code
segmentLocator("216-1")
addIndexCase()

Run the code above in your browser using DataLab