Learn R Programming

cholera (version 0.9.1)

addNeighborhoodSnow: 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

addNeighborhoodSnow(latlong = FALSE, type = "area.polygons",
  non.snow.cases = FALSE, alpha.level = 1/3, polygon.type = "solid",
  polygon.col = NULL, polygon.lwd = NULL)

Arguments

latlong

Logical.

type

Character. Type of annotation plot: ""area.points", "area.polygons", or "roads".

non.snow.cases

Logical. Plot anchor cases outside Snow neighborhood.

alpha.level

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

polygon.type

Character. "border" or "solid".

polygon.col

Character.

polygon.lwd

Numeric.

Examples

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

Run the code above in your browser using DataLab