R/state.vbm.R

#' @name state.vbm
#' @aliases state.vbm
#' @title US State Visibility Based Map
#'
#' @description A SpatialPolygonsDataFrame object to plot a Visibility Based Map.
#' 
#' @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. 
#' 
#' @source The data was converted from the maps library for S-PLUS.  S-PLUS uses the map with permission from the author. This version of the data has not received permission from the author (no attempt made, not that it was refused), most of my uses I feel fall under fair use and do not violate copyright, but you will need to decide for yourself and your applications.
#' 
#' @author Greg Snow \email{greg.snow@imail.org} (of this compilation)
#' 
#' @references   
#' \url{http://www.markmonmonier.com/index.htm},
#' \url{http://euclid.psych.yorku.ca/SCS/Gallery/bright-ideas.html}
#' 
#' @docType data
#' @keywords datasets sp
#' @importClassesFrom sp SpatialPolygonsDataFrame
#' 
#' @examples 
#' 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])
#' }
"state.vbm"

Try the spData package in your browser

Any scripts or data that you put into this service are public.

spData documentation built on June 22, 2024, 10:29 a.m.