R/range.cuts.R

Defines functions `rangeCuts`

`rangeCuts` <-
function(x,n = 5,params = NA) {
	labs = 1:(n-1)
	frac = (1:(n-1))/n
	res = min(x)+frac*(max(x)-min(x))
	names(res) = paste("#",labs,sep="")
	res}

Try the GISTools package in your browser

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

GISTools documentation built on May 6, 2019, 1:09 a.m.