spData (version 2.3.0)

state.vbm: US State Visibility Based Map

Description

A SpatialPolygonsDataFrame object to plot a Visibility Based Map.

Usage

state.vbm

Arguments

Format

An object of class SpatialPolygonsDataFrame with 50 rows and 2 columns.

Author

Greg Snow greg.snow@imail.org (of this compilation)

Details

A SpatialPolygonsDataFrame object to plot a map of the US states where the sizes of the states have been adjusted to be more equal. This map can be useful for plotting state data using colors patterns without the larger states dominating and the smallest states being lost. The original map is copyrighted by Mark Monmonier. Official publications based on this map should acknowledge him. Comercial publications of maps based on this probably need permission from him to use.

References

http://www.markmonmonier.com/index.htm, http://euclid.psych.yorku.ca/SCS/Gallery/bright-ideas.html

Examples

Run this code
if (requireNamespace("sp", quietly = TRUE)) {
  library(sp)
  data(state.vbm)
  plot(state.vbm)

  tmp <- state.x77[, 'HS Grad']
  tmp2 <- cut(tmp, seq(min(tmp), max(tmp), length.out=11),
            include.lowest=TRUE)
  plot(state.vbm, col=cm.colors(10)[tmp2])
}

Run the code above in your browser using DataLab