Learn R Programming

fields (version 1.5)

US: Plot of the US with state boundaries

Description

Plots quickly, medium resolution outlines of the US with the states and bodies of water.

Usage

US( xlim=c(-124.7, -67.1), ylim = c(25.2, 49.4), add=FALSE,shift=FALSE, ...)

Arguments

ylim
range of latitudes
xlim
range of longitudes
add
If true will add the world map to current plot
shift
If TRUE shifts to be centered on the Dateline and longitude runs from 0 to 360. If FALSE centers on Prime Meridian and longitude runs from -180 to 180.
...
These are graphical arguments that are passed to the lines function that draws outline.

Details

This function uses the FIELDS dataset US.dat for the coordinates.

See Also

world

Examples

Run this code
# Draw map in device color # 3 
US( col=3)

Run the code above in your browser using DataLab