Learn R Programming

gdistance (version 1.6.4)

Distances and Routes on Geographical Grids

Description

Provides classes and functions to calculate various distance measures and routes in heterogeneous geographic spaces represented as grids. The package implements measures to model dispersal histories first presented by van Etten and Hijmans (2010) . Least-cost distances as well as more complex distances based on (constrained) random walks can be calculated. The distances implemented in the package are used in geographical genetics, accessibility indicators, and may also have applications in other fields of geospatial analysis.

Copy Link

Version

Install

install.packages('gdistance')

Monthly Downloads

3,971

Version

1.6.4

License

GPL (>= 2)

Maintainer

Last Published

June 19th, 2023

Functions in gdistance (1.6.4)

passage

Probability of passage
sumReciprocal

Reciprocal of the sum of the reciprocals of conductance values in Transition* objects
normalize

Normalize
transition

Create an object of the class Transition
Summary-methods

Summary methods
accCost

Accumulated Cost Surface
adjacencyFromTransition

Adjacent cells
shortestPath

Shortest path
gdistance

Distances and Routes on Geographical Grids
Transition-extract-replace

Extracting and replacing: class Transition
commuteDistance

Commute-time distance
Transition-classes

Transition classes
raster,TransitionLayer-method

RasterLayer from TransitionLayer object
costDistance

Cost distance
Transition-slots

Extract or change elements of Transition* objects
ArithMath-methods

Arithmetic and mathematical operations with objects of Transition* classes
rSPDistance

Randomized shortest path distance
Coords class

Coords class
pathInc

Incidence of paths from a common origin: overlap and non-overlap
genDist

Genetic distances and coordinates of haplogroup R1b1b2 populations in Europe
overlap

Overlap and nonoverlap of trajectories
geoCorrection

Geographic Correction