cut function {GISTools}R Documentation

Cut functions

Description

Helper functions for auto.shading. Given a variable to be mapped, a number of classes and possibly some more params, returns a list of break values. There should be one less break value than the number of classes.

Usage

quantileCuts(x, n = 5, params = NA)
sdCuts(x, n = 5, params = NA)
rangeCuts(x, n = 5, params = NA)

Arguments

x

The variable to be mapped.

n

The number of classes.

params

Extra params for individual cut functions.

Value

An ordered list of the break values between classes

Note

The only cut function using params is quantileCuts, where it is used to specify a list of quantile values - useful if they are not evenly spaced.

Author(s)

Chris Brunsdon

See Also

auto.shading


[Package GISTools version 1.0-2 Index]