choropleth | R Documentation |
choropleth
discretizes the values of a quantity for mapping.
choropleth(x, k = 10, breaks = "quantile", min = NULL, max = NULL)
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 |
a vector with the discretized values.
Barnabas H. Daru darunabas@gmail.com
coldspots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.