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(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. 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 April 14, 2024, 6:29 a.m.