Voronoi Diagrams and Heatmaps with 'ggplot2'

Easy creation and manipulation of Voronoi diagrams using 'deldir' with visualization in 'ggplot2'.


Overview

'ggvoronoi' allows for easy creation and manipulation of Voronoi diagrams. Nearest neighbor regions are calculated using 'deldir'. From there, visualization is provided with 'ggplot2', or the user can analyze the diagram using any of R's spatial packages.

Getting started

#installing ggvoronoi from CRAN
install.packages("ggvoronoi")
 
#view some examples and create your first Voronoi diagram!
vignette("ggvoronoi")

Contact info

For questions about usage/syntax or for reporting bugs, email Robert Garrett at [email protected] or raise an issue on this repository.

Changes

Version 0.8.1: Fixed bug when using a discrete value for fill mapping. Removed google maps API call in the vignette.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ggvoronoi")

0.8.2 by Robert C. Garrett, 2 months ago


https://github.com/garretrc/ggvoronoi/


Browse source code at https://github.com/cran/ggvoronoi


Authors: Robert C. Garrett [aut, cre] , Austin Nar [aut] , Thomas J. Fisher [aut] , Karsten Maurer [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports deldir, sp, rgeos, raster, methods

Depends on ggplot2

Suggests knitr, rmarkdown, ggmap, dplyr, scales, testthat, vdiffr


See at CRAN