topoSurface {topoDistance} | R Documentation |
Topographic distance surface
Description
Generates a TransitionLayer object for topographic distance from a RasterLayer
Usage
topoSurface(DEM, conductance = TRUE, directions = 8, zweight = 1)
Arguments
DEM |
A RasterLayer for digital elevation model (DEM) data. |
conductance |
logical (default = TRUE). If FALSE, resistance values are returned. If TRUE, conductance values (1/resistance) are returned. |
directions |
numeric (default = 8). Directions of allowable movement between raster cells (4 or 8). |
zweight |
numeric (default = 1). The weight to be applied to the elevation (z) distances relative to the horizontal (xy) distances. |
Details
This function generates a TransitionLayer from a DEM, which is used by the topoDist and topoLCP functions. It does not need to be called separately from the topoDist and topoLCP functions.
Value
TransitionLayer
Examples
YosTL <- topoSurface(Yosemite$DEM)
[Package topoDistance version 1.0.2 Index]