Learn R Programming

mapdata (version 2.3.1)

rivers: World Rivers Map Database

Description

This database produces major rivers (and some lakes) which may be used to add to an existing map. Unfortunately, there is no fine control over which rivers are plotted, so all rivers which lie within the boundaries of the current plot on display will be added. Some of these may be outside the boundaries of the map shown.

Arguments

Format

The data file is merely an assignment to a character string which specifies the name of an environment variable which contains the base location of the binary files used by the map drawing functions. This environment variable (R_MAPDATA_DATA_DIR for the datasets in the mapdata package) is set at package load time.

References

Richard A. Becker, and Allan R. Wilks, "Maps in S", AT&T Bell Laboratories Statistics Research Report [93.2], 1993.

Richard A. Becker, and Allan R. Wilks, "Constructing a Geographical Database", AT&T Bell Laboratories Statistics Research Report [95.2], 1995.

See Also

map, world

Examples

Run this code
map('usa')
map('rivers', add=TRUE)

Run the code above in your browser using DataLab