Publication | Open Access
<i>R</i> Package <b>gdistance</b>: Distances and Routes on Geographical Grids
497
Citations
21
References
2017
Year
Random WalksSpatial Statistical AnalysisGeographical GridsRoute PlanningGeographyR Package GdistanceGeocomputationBiostatisticsCircuit TheoryRange SearchingVoronoi DiagramComputational Geometry
The R package gdistance provides classes and functions to compute various distance measures and routes on heterogeneous geographic grids. It calculates least‑cost distances and more complex distances based on constrained random walks, determines routes or cell‑passing probabilities, and stores transition probabilities or costs in a memory‑efficient sparse format that allows direct manipulation of asymmetric cell‑to‑cell movement values. The novel distances are applied in geographical genetics using circuit theory and have broader applications in geospatial analysis.
The R package gdistance provides classes and functions to calculate various distance measures and routes in heterogeneous geographic spaces represented as grids. Least-cost distances as well as more complex distances based on (constrained) random walks can be calculated. Also the corresponding routes or probabilities of passing each cell can be determined. The package implements classes to store the data about the probability or cost of transitioning from one cell to another on a grid in a memory-efficient sparse format. These classes make it possible to manipulate the values of cell-to-cell movement directly, which offers flexibility and the possibility to use asymmetric values. The novel distances implemented in the package are used in geographical genetics (applying circuit theory), but also have applications in other fields of geospatial analysis.
| Year | Citations | |
|---|---|---|
Page 1
Page 1