Learn R Programming

cholera (version 0.5.1)

addSnow: Adds Snow's graphical annotation of the Broad Street pump walking neighborhood.

Description

Adds Snow's graphical annotation of the Broad Street pump walking neighborhood.

Usage

addSnow(type = "area", color = "dodgerblue", alpha.level = 0.25,
  line.width = 2, ...)

Arguments

type

Character. Type of annotation plot: "area", "boundary" or "street".

color

Character. Neighborhood color.

alpha.level

Numeric. Alpha level transparency: a value in [0, 1].

line.width

Numeric. Line width for type = "street" and type = "boundary".

...

Additional plotting parameters.

See Also

snowMap, addIndexCase, addKernelDensity, addLandmarks, addPlaguePit, addVoronoi, addWhitehead

Examples

Run this code
# NOT RUN {
plot(neighborhoodVoronoi())
addSnow()
# }

Run the code above in your browser using DataLab