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

View source: R/addSnow.R

addSnowR Documentation

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" or "perimeter".

color

Character. Neighborhood color.

alpha.level

Numeric. Alpha level transparency: a value in [0, 1] when type = "area".

line.width

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

Examples

## Not run: 
plot(neighborhoodVoronoi())
addSnow()

## End(Not run)

lindbrook/cholera documentation built on April 14, 2024, 6:29 a.m.