dot.density | R Documentation |
Generate dots randomly within regions
dot.density(data, var, total = 300, per.dot = 1000, prop = FALSE)
data |
Map dataset |
var |
Variable to use to allocate dots |
total |
For proportion dot density maps, the total number of points |
per.dot |
For "dot per N" maps, the N that each dot reprsents |
prop |
Boolean to switch between proportional dot density/"dot per N" maps. |
An sf object containing a series of dots for each region.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.