choropleth {phyloregion} | R Documentation |
Bin values
Description
choropleth
discretizes the values of a quantity for mapping.
Usage
choropleth(x, k = 10, breaks = "quantile", min = NULL, max = NULL)
Arguments
x |
Vector of values to discretize. |
k |
Numeric, the desired number of bins to discretize. |
breaks |
one of “equal”, “pretty”, “jenks”,
“quantile” or numeric vector with the actual breaks by
specifying the minimum ( |
min |
the minima of the lowest bound of the break. |
max |
the maxima of the upper bound of the break |
Value
a vector with the discretized values.
Author(s)
Barnabas H. Daru darunabas@gmail.com
See Also
[Package phyloregion version 1.0.9 Index]