The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
dots
provides tools to make dot density maps.
You can install the development version of dots from GitHub with:
::install_github('christopherkenny/dots') remotes
The main function in dots
is dots()
.
library(dots)
library(sf)
#> Linking to GEOS 3.9.1, GDAL 3.4.3, PROJ 7.2.1; sf_use_s2() is TRUE
library(ggplot2)
data('suffolk')
::dots(suffolk, c(pop_black, pop_white), divisor = 1000) +
dotsscale_color_viridis_d() +
theme_void()
You can also use dots_points()
to only make the
randomized points.
::dots_points(suffolk, c(pop_black, pop_white), divisor = 1000) |>
dotsggplot() +
geom_sf(data = suffolk) +
geom_sf(aes(color = dots_type)) +
scale_color_viridis_d() +
theme_void()
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.