calculate slope (rise over run) from supplied digital elevation model (DEM)
calculate_slope(dem, neighbours, exaggeration)
TransitionMatrix
(gdistance package). Anisotropic Slope (rise over run) Conductivity surface
RasterLayer
(raster package). Digital Elevation Model
numeric
value. Number of directions used in the Least Cost Path calculation. See Huber and Church (1985) for methodological considerations when choosing number of neighbours. Expected values are 4, 8, 16, 32, or 48. Default is 16
logical
. if TRUE, positive slope values (ie. up-hill movement) multiplied by 1.99 and negative slope values (ie. down-hill movement) multiplied by 2.31.
Joseph Lewis