Learn R Programming

cholera (version 0.4.0)

addIndexCase: Highlight index case at 40 Broad Street.

Description

Highlight index case at 40 Broad Street.

Usage

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

Arguments

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. Sine of text label.

...

Additional plotting parameters.

Value

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

See Also

snowMap, addKernelDensity, addLandmarks, addPlaguePit, addSnow, addVoronoi, addWhitehead

Examples

Run this code
# NOT RUN {
segmentLocator("216-1")
addIndexCase()
# }

Run the code above in your browser using DataLab