EconPapers    
Economics at your fingertips  
 

R Package gdistance: Distances and Routes on Geographical Grids

Jacob van Etten

Journal of Statistical Software, 2017, vol. 076, issue i13

Abstract: 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.

Date: 2017-02-27
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (14)

Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v076i13/v76i13.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... istance_1.2-1.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... ile/v076i13/v76i13.R

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:076:i13

DOI: 10.18637/jss.v076.i13

Access Statistics for this article

Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis

More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().

 
Page updated 2025-03-19
Handle: RePEc:jss:jstsof:v:076:i13