cholera (version 0.8.0)

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", "perimeter" 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 = "perimeter".

Examples

Run this code
if (FALSE) {
plot(neighborhoodVoronoi())
addSnow()
}

Run the code above in your browser using DataLab