addIndexCase: Highlight index case at 40 Broad Street.

View source: R/addIndexCase.R

addIndexCaseR Documentation

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)

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.

Value

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

Examples

segmentLocator("216-1")
addIndexCase()

lindbrook/cholera documentation built on Jan. 13, 2025, 3:49 p.m.