Learn R Programming

cholera (version 0.9.1)

streetHighlight: Highlight road by name.

Description

Highlight road by name.

Usage

streetHighlight(road.name, col = "red", lwd = 3, latlong = FALSE)

Value

A base R graphics segment(s).

Arguments

road.name

Character vector. The function tries to correct for case and remove extra spaces (includes "Map Frame").

col

Character. Highlight color.

lwd

Numeric. Line width.

latlong

Logical. Use estimated longitude and latitude.

Examples

Run this code
snowMap()
streetHighlight("Broad Street")

Run the code above in your browser using DataLab