Spatial analyses involving binning require that every bin have the same area, but this is impossible using a rectangular grid laid over the Earth or over any projection of the Earth. Discrete global grids use hexagons, triangles, and diamonds to overcome this issue, overlaying the Earth with equally-sized bins. This package provides utilities for working with discrete global grids, along with utilities to aid in plotting such data.
| Version: | 3.1.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | Rcpp (≥ 0.12.12), collapse (≥ 1.8.0), sf (≥ 1.0), s2 (≥ 1.1) |
| LinkingTo: | Rcpp |
| Suggests: | ggplot2, knitr, rmarkdown, dplyr, maps, R.rsp, testthat |
| Published: | 2026-01-20 |
| DOI: | 10.32614/CRAN.package.dggridR |
| Author: | Richard Barnes [aut], Kevin Sahr [aut, cph], Gerald Evenden [cph], Angus Johnson [cph], Frank Warmerdam [cph], Even Rouault [cph], Lian Song [ctb], Edzer Pebesma [ctb], Sebastian Krantz [ctb, cre] |
| Maintainer: | Sebastian Krantz <sebastian.krantz at graduateinstitute.ch> |
| BugReports: | https://github.com/r-barnes/dggridR/issues |
| License: | AGPL (≥ 3) |
| URL: | https://github.com/r-barnes/dggridR/ |
| NeedsCompilation: | yes |
| Language: | en-US |
| Materials: | README, NEWS |
| In views: | Spatial |
| CRAN checks: | dggridR results |
| Reference manual: | dggridR.html , dggridR.pdf |
| Vignettes: |
dggridR: Discrete Global Grids for R (source, R code) Kevin Sahr's DGGRID Manual (source) |
| Package source: | dggridR_3.1.1.tar.gz |
| Windows binaries: | r-devel: dggridR_3.1.0.zip, r-release: dggridR_3.1.0.zip, r-oldrel: dggridR_3.1.0.zip |
| macOS binaries: | r-release (arm64): dggridR_3.1.1.tgz, r-oldrel (arm64): dggridR_3.1.1.tgz, r-release (x86_64): dggridR_3.1.1.tgz, r-oldrel (x86_64): dggridR_3.1.1.tgz |
| Old sources: | dggridR archive |
| Reverse imports: | BioTIMEr |
| Reverse suggests: | chopin, mapi |
Please use the canonical form https://CRAN.R-project.org/package=dggridR to link to this page.