powered by
Make dot density points
dots_points( shp, cols, engine = engine_terra, divisor = 250, min_point = 0.1 * divisor )
tibble with sf geometries
sf
input shp with sf geometry.
<tidy-select> columns to produce dots for.
tidy-select
backend to use. Default is engine_terra.
engine_terra
Number of people per dot. Default is 250.
Minimum number of people to generate one dot. Defaults to 10% of the divisor.
data('suffolk') # subset to first 20 rows for speed on CRAN dots_points(suffolk[1:20, ], c(vap_black))
Run the code above in your browser using DataLab