addIndexCase {cholera}R 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()

[Package cholera version 0.7.5 Index]