cut function | R Documentation |
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.
quantileCuts(x, n = 5, params = NA)
sdCuts(x, n = 5, params = NA)
rangeCuts(x, n = 5, params = NA)
x |
The variable to be mapped. |
n |
The number of classes. |
params |
Extra params for individual cut functions. |
An ordered list of the break values between classes
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.
Chris Brunsdon
auto.shading
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.