R/shading.R

Defines functions shading

Documented in shading

#Original code by Chris Brunsdon
#Edited by Binbin Lu

shading <- function(breaks,cols=brewer.pal(length(breaks),'Reds')) 
{
  res=list(breaks=breaks,cols=cols)
	class(res) = 'shading'
	res
}

Try the GISTools package in your browser

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

GISTools documentation built on Oct. 3, 2024, 1:08 a.m.