Calculates the accumulated cost surface from one or more origins.
Usage
accCost(transition, fromCoords)
Arguments
transition
object of class TransitionLayer
fromCoords
origin point locations (SpatialPoints, matrix or numeric class)
Value
RasterLayer
Details
If more than one coordinate is supplied in fromCoords, the function calculates the minimum least-cost distance from any origin point.
The function uses Dijkstra's algorithm (as implemented in the igraph package).
References
E.W. Dijkstra. 1959. A note on two problems in connexion with graphs. Numerische Mathematik 1, 269 - 271.