R/geoplotpalette.R

Defines functions geoplotpalette

Documented in geoplotpalette

#' Set define a traditional geoplot-palette
#' 
#' Set define a traditional geoplot-palette with colors from the matix
#' 'postcol'.
#' 
#' 
#' @return Sets the palette
#' @seealso \code{\link{colps}}, \code{\link{hsv}}
#' @keywords ~kwd1
#' @export geoplotpalette
geoplotpalette <-
function(){
  x  <- hsv(geo::postcol[,1],geo::postcol[,2],geo::postcol[,3])
  palette(x)
}

Try the geo package in your browser

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

geo documentation built on May 29, 2017, 5:36 p.m.