| dot.density {iNZightMaps} | 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.