dots_points {dots}R Documentation

Make dot density points

Description

Make dot density points

Usage

dots_points(
  shp,
  cols,
  engine = engine_terra,
  divisor = 250,
  min_point = 0.1 * divisor
)

Arguments

shp

input shp with sf geometry.

cols

<tidy-select> columns to produce dots for.

engine

backend to use. Default is engine_terra.

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.

Value

tibble with sf geometries

Examples

data('suffolk')
# subset to first 20 rows for speed on CRAN
dots_points(suffolk[1:20, ], c(vap_black))

[Package dots version 0.0.2 Index]