dots_points | R Documentation |
Make dot density points
dots_points(
shp,
cols,
engine = engine_terra,
divisor = 250,
min_point = 0.1 * divisor
)
shp |
input shp with |
cols |
< |
engine |
backend to use. Default is |
divisor |
Number of people per dot. Default is 250. |
min_point |
Minimum number of people to generate one dot. Defaults to 10% of the divisor. |
tibble with sf
geometries
data('suffolk')
# subset to first 20 rows for speed on CRAN
dots_points(suffolk[1:20, ], c(vap_black))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.