dggridR: Discrete Global Grids for R

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.

Install the latest version of this package by entering the following in R:
install.packages("dggridR")
AuthorRichard Barnes [aut, cre], Kevin Sahr [ctb], Gerald Evenden [ctb], Angus Johnson [ctb], Frank Warmerdam [ctb]
Date of publication2017-04-24 05:51:38 UTC
MaintainerRichard Barnes <rbarnes@umn.edu>
LicenseMIT + file LICENCE
Version1.0.1
https://github.com/r-barnes/dggridR/

View on CRAN

Functions

dgcellstogrid Man page
dg_closest_res Man page
dg_closest_res_to_area Man page
dg_closest_res_to_cls Man page
dg_closest_res_to_spacing Man page
dgconstruct Man page
dgearthgrid Man page
dg_env Man page
dg_exe_path Man page
dggetres Man page
dginfo Man page
dgmaxcell Man page
dg_process_kml Man page
dgquakes Man page
dgrectgrid Man page
dgrun Man page
dgsetres Man page
dg_shpfname_south_africa Man page
dgshptogrid Man page
dgtransform Man page
dg_transform_for_output Man page
dgverify Man page

Files

inst
inst/extdata
inst/extdata/ZAF_adm0.shp
inst/extdata/ZAF_adm0.dbf
inst/extdata/README.md
inst/extdata/ZAF_adm0.shx
inst/doc
inst/doc/dggrid_v62_manual.pdf.asis
inst/doc/dggridR.Rmd
inst/doc/dggridR.R
inst/doc/dggridR.html
inst/doc/dggrid_v62_manual.pdf
tests
tests/testthat.R
tests/testthat
tests/testthat/test_grid_construction.R
src
src/Makevars
src/install.libs.R
src/lib
src/lib/dglib
src/lib/dglib/lib
src/lib/dglib/lib/DgPhysicalRFBase.hpp
src/lib/dglib/lib/DgRandom.cpp
src/lib/dglib/lib/DgLocVector.cpp
src/lib/dglib/lib/Makefile
src/lib/dglib/lib/DgIDGG.cpp
src/lib/dglib/lib/DgOutKMLfile.cpp
src/lib/dglib/lib/DgBase.cpp
src/lib/dglib/lib/DgOutputStream.cpp
src/lib/dglib/lib/DgDVec2D.cpp
src/lib/dglib/lib/DgOutLocFile.cpp
src/lib/dglib/lib/DgIVec2D.cpp
src/lib/dglib/lib/DgEllipsoidRF.cpp
src/lib/dglib/lib/DgTriGrid2D.cpp
src/lib/dglib/lib/DgTriGrid2DS.cpp
src/lib/dglib/lib/DgSeriesConverter.cpp
src/lib/dglib/lib/DgIDGGS43H.cpp
src/lib/dglib/lib/DgIDGGS3H.cpp
src/lib/dglib/lib/DgBoundedIDGGS.cpp
src/lib/dglib/lib/DgLocList.cpp
src/lib/dglib/lib/DgIDGGS4H.cpp
src/lib/dglib/lib/DgInputStream.cpp
src/lib/dglib/lib/DgBoundedRF2D.cpp
src/lib/dglib/lib/DgCell.cpp
src/lib/dglib/lib/DgLocation.cpp
src/lib/dglib/lib/DgPhysicalRFS2D.hpp
src/lib/dglib/lib/DgAddressBase.cpp
src/lib/dglib/lib/DgInLocTextFile.cpp
src/lib/dglib/lib/DgOutRandPtsText.cpp
src/lib/dglib/lib/DgOutShapefile.cpp
src/lib/dglib/lib/DgIDGGS4D.cpp
src/lib/dglib/lib/DgProjGnomonicRF.cpp
src/lib/dglib/lib/DgProjTriRF.cpp
src/lib/dglib/lib/DgDVec3D.cpp
src/lib/dglib/lib/DgGeoSphRF.cpp
src/lib/dglib/lib/DgIDGGS.cpp
src/lib/dglib/lib/DgProjISEA.cpp
src/lib/dglib/lib/DgInShapefileAtt.cpp
src/lib/dglib/lib/DgIVec3D.cpp
src/lib/dglib/lib/DgDmdD4Grid2DS.cpp
src/lib/dglib/lib/DgHexGrid2DS.cpp
src/lib/dglib/lib/DgBoundedIDGG.cpp
src/lib/dglib/lib/DgParamList.cpp
src/lib/dglib/lib/DgHexC1Grid2D.cpp
src/lib/dglib/lib/DgRFNetwork.cpp
src/lib/dglib/lib/DgDiscRFS2D.cpp
src/lib/dglib/lib/DgSqrD4Grid2DS.cpp
src/lib/dglib/lib/DgUtil.cpp
src/lib/dglib/lib/DgRFBase.cpp
src/lib/dglib/lib/DgSqrD8Grid2D.cpp
src/lib/dglib/lib/DgPolygon.cpp
src/lib/dglib/lib/DgDiscRFS.hpp
src/lib/dglib/lib/DgOutLocTextFile.cpp
src/lib/dglib/lib/DgOutGeoJSONFile.cpp
src/lib/dglib/lib/DgDistanceBase.cpp
src/lib/dglib/lib/DgIcosaMap.cpp
src/lib/dglib/lib/DgRF.hpp
src/lib/dglib/lib/DgBoundedHexC2RF2D.cpp
src/lib/dglib/lib/DgDmdD8Grid2D.cpp
src/lib/dglib/lib/DgOutAIGenFile.cpp
src/lib/dglib/lib/DgBoundedRFS2D.cpp
src/lib/dglib/lib/DgColor.cpp
src/lib/dglib/lib/DgConverterBase.cpp
src/lib/dglib/lib/DgOutPtsText.cpp
src/lib/dglib/lib/DgSqrD8Grid2DS.cpp
src/lib/dglib/lib/DgInShapefile.cpp
src/lib/dglib/lib/DgPhysicalRF2D.hpp
src/lib/dglib/lib/DgBoundedRF.hpp
src/lib/dglib/lib/DgSuperfund.cpp
src/lib/dglib/lib/DgDmdD8Grid2DS.cpp
src/lib/dglib/lib/DgSqrD4Grid2D.cpp
src/lib/dglib/lib/DgIDGGS4T.cpp
src/lib/dglib/lib/DgLocBase.cpp
src/lib/dglib/lib/DgInAIGenFile.cpp
src/lib/dglib/lib/DgPhysicalRF.hpp
src/lib/dglib/lib/DgHexC2Grid2D.cpp
src/lib/dglib/lib/DgDiscRF.hpp
src/lib/dglib/lib/DgDmdD4Grid2D.cpp
src/lib/dglib/lib/DgProjFuller.cpp
src/lib/dglib/include
src/lib/dglib/include/DgPhysicalRFS2D.h
src/lib/dglib/include/Dg2WayConverter.h
src/lib/dglib/include/DgProjTriRF.h
src/lib/dglib/include/DgAddressBase.h
src/lib/dglib/include/DgLabelLoc.h
src/lib/dglib/include/DgGeoDatumRF.h
src/lib/dglib/include/DgContCartRF.h
src/lib/dglib/include/DgIcosaProj.h
src/lib/dglib/include/DgDmdD4Grid2D.h
src/lib/dglib/include/DgBoundedRFBase.h
src/lib/dglib/include/DgTriGrid2D.h
src/lib/dglib/include/DgSqrD8Grid2DS.h
src/lib/dglib/include/DgBoundedHexC2RF2D.h
src/lib/dglib/include/DgHexGrid2DS.h
src/lib/dglib/include/DgPolygon.h
src/lib/dglib/include/DgRandom.h
src/lib/dglib/include/DgDVec3D.h
src/lib/dglib/include/DgBoundedIDGG.h
src/lib/dglib/include/DgOutKMLfile.h
src/lib/dglib/include/DgIDGGS4T.h
src/lib/dglib/include/DgDmdD4Grid2DS.h
src/lib/dglib/include/DgOutPtsText.h
src/lib/dglib/include/DgInShapefile.h
src/lib/dglib/include/DgInLocFile.h
src/lib/dglib/include/DgIDGG.h
src/lib/dglib/include/DgRFNetwork.h
src/lib/dglib/include/DgDistance.h
src/lib/dglib/include/DgIDGGS3H.h
src/lib/dglib/include/DgHexC2Grid2D.h
src/lib/dglib/include/DgConstants.h
src/lib/dglib/include/DgGeoProjConverter.h
src/lib/dglib/include/DgOutShapefile.h
src/lib/dglib/include/DgConverter.h
src/lib/dglib/include/DgProjGnomonicRF.h
src/lib/dglib/include/DgDiscRFS2D.h
src/lib/dglib/include/DgSuperfund.h
src/lib/dglib/include/DgDiscRF2D.h
src/lib/dglib/include/DgOutGeoJSONFile.h
src/lib/dglib/include/DgBoundedRFS2D.h
src/lib/dglib/include/DgDiscRFS.h
src/lib/dglib/include/DgString.h
src/lib/dglib/include/DgIVec2D.h
src/lib/dglib/include/DgRFBase.h
src/lib/dglib/include/DgBoundedIDGGS.h
src/lib/dglib/include/DgOutRandPtsText.h
src/lib/dglib/include/DgDVec2D.h
src/lib/dglib/include/DgInLocTextFile.h
src/lib/dglib/include/DgPhysicalRF2D.h
src/lib/dglib/include/DgIDGGS43H.h
src/lib/dglib/include/DgLocation.h
src/lib/dglib/include/DgBoundedRF2D.h
src/lib/dglib/include/DgProjFuller.h
src/lib/dglib/include/DgInShapefileAtt.h
src/lib/dglib/include/DgRF.h
src/lib/dglib/include/DgPhysicalRFBase.h
src/lib/dglib/include/DgEllipsoidRF.h
src/lib/dglib/include/DgInAIGenFile.h
src/lib/dglib/include/DgTriGrid2DS.h
src/lib/dglib/include/DgGeoSphRF.h
src/lib/dglib/include/DgProjISEA.h
src/lib/dglib/include/DgSpatialDB.h
src/lib/dglib/include/DgLocList.h
src/lib/dglib/include/DgOutAIGenFile.h
src/lib/dglib/include/DgBoundedRF.h
src/lib/dglib/include/DgGeoProjRF.h
src/lib/dglib/include/DgLocVector.h
src/lib/dglib/include/DgBase.h
src/lib/dglib/include/DgIDGGS.h
src/lib/dglib/include/DgPhysicalRF.h
src/lib/dglib/include/DgIDGGS4H.h
src/lib/dglib/include/DgIVec3D.h
src/lib/dglib/include/DgSeriesConverter.h
src/lib/dglib/include/DgHexC1Grid2D.h
src/lib/dglib/include/DgParamList.h
src/lib/dglib/include/DgConverterBase.h
src/lib/dglib/include/DgSqrD4Grid2D.h
src/lib/dglib/include/DgColor.h
src/lib/dglib/include/DgIcosaMap.h
src/lib/dglib/include/DgLocBase.h
src/lib/dglib/include/DgCell.h
src/lib/dglib/include/DgDmdD8Grid2DS.h
src/lib/dglib/include/DgInputStream.h
src/lib/dglib/include/DgDiscRF.h
src/lib/dglib/include/DgDmdD8Grid2D.h
src/lib/dglib/include/DgSqrD8Grid2D.h
src/lib/dglib/include/DgUtil.h
src/lib/dglib/include/DgOutputStream.h
src/lib/dglib/include/DgSqrD4Grid2DS.h
src/lib/dglib/include/DgRadixString.h
src/lib/dglib/include/DgOutLocTextFile.h
src/lib/dglib/include/DgIDGGS4D.h
src/lib/dglib/include/DgOutLocFile.h
src/lib/dglib/include/DgAddress.h
src/lib/proj4lib
src/lib/proj4lib/lib
src/lib/proj4lib/lib/Makefile
src/lib/proj4lib/lib/pj_phi2.cpp
src/lib/proj4lib/lib/pj_auth.cpp
src/lib/proj4lib/lib/pj_tsfn.cpp
src/lib/proj4lib/lib/hypot.cpp
src/lib/proj4lib/lib/pj_mlfn.cpp
src/lib/proj4lib/lib/pj_qsfn.cpp
src/lib/proj4lib/lib/pj_msfn.cpp
src/lib/proj4lib/lib/adjlon.cpp
src/lib/proj4lib/include
src/lib/proj4lib/include/PJ_gnom.h
src/lib/proj4lib/include/proj4.h
src/lib/shapelib-1.3.0
src/lib/shapelib-1.3.0/makeshape.sh
src/lib/shapelib-1.3.0/Makefile
src/lib/shapelib-1.3.0/shpcreate.c
src/lib/shapelib-1.3.0/shptree.c
src/lib/shapelib-1.3.0/dbfcreate.c
src/lib/shapelib-1.3.0/dbfdump.c
src/lib/shapelib-1.3.0/mkdist.sh
src/lib/shapelib-1.3.0/shapelib.def
src/lib/shapelib-1.3.0/stream1.sh
src/lib/shapelib-1.3.0/shpopen.c
src/lib/shapelib-1.3.0/dbfopen.c
src/lib/shapelib-1.3.0/shputils.c
src/lib/shapelib-1.3.0/shptest.c
src/lib/shapelib-1.3.0/shprewind.c
src/lib/shapelib-1.3.0/README
src/lib/shapelib-1.3.0/mkinstalldirs
src/lib/shapelib-1.3.0/shapefil.h
src/lib/shapelib-1.3.0/stream1.out
src/lib/shapelib-1.3.0/shpadd.c
src/lib/shapelib-1.3.0/safileio.c
src/lib/shapelib-1.3.0/stream2.out
src/lib/shapelib-1.3.0/shptreedump.c
src/lib/shapelib-1.3.0/shpdump.c
src/lib/shapelib-1.3.0/dbfadd.c
src/lib/shapelib-1.3.0/stream3.out
src/lib/shapelib-1.3.0/stream2.sh
src/lib/clipper
src/lib/clipper/Makefile
src/lib/clipper/clipper.cpp
src/lib/clipper/clipper.hpp
src/Makevars.win
src/apps
src/apps/dggrid
src/apps/dggrid/Makefile
src/apps/dggrid/param.cpp
src/apps/dggrid/DgHexSF.cpp
src/apps/dggrid/DgHexSF.h
src/apps/dggrid/dggrid.h
src/apps/dggrid/util.h
src/apps/dggrid/quadclip.cpp
src/apps/dggrid/table.cpp
src/apps/dggrid/gridgen.h
src/apps/dggrid/transform.cpp
src/apps/dggrid/dggrid.cpp
src/apps/dggrid/gridgen.cpp
src/apps/dggrid/binpres.cpp
src/apps/dggrid/util.cpp
src/apps/dggrid/binvals.cpp
src/apps/appex
src/apps/appex/Makefile
src/apps/appex/appex.cpp
NAMESPACE
NEWS
data
data/dgquakes.rda
data/datalist
R
R/dggridR.R
vignettes
vignettes/dggrid_v62_manual.pdf.asis
vignettes/dggridR.Rmd
vignettes/bibliography.bib
vignettes/mercator.png
vignettes/hex_grid_nested.png
vignettes/dggrid.png
README.md
MD5
build
build/vignette.rds
DESCRIPTION
LICENCE
man
man/dgearthgrid.Rd man/dgconstruct.Rd man/dgcellstogrid.Rd man/dgquakes.Rd man/dggetres.Rd man/dginfo.Rd man/dgsetres.Rd man/dg_closest_res_to_cls.Rd man/dgrun.Rd man/dg_closest_res_to_area.Rd man/dgmaxcell.Rd man/dgtransform.Rd man/dgverify.Rd man/dg_process_kml.Rd man/dgshptogrid.Rd man/dg_closest_res.Rd man/dg_shpfname_south_africa.Rd man/dg_transform_for_output.Rd man/dg_closest_res_to_spacing.Rd man/dg_exe_path.Rd man/dgrectgrid.Rd man/dg_env.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.