topoSurface | R Documentation |
Generates a TransitionLayer object for topographic distance from a RasterLayer
topoSurface(DEM, conductance = TRUE, directions = 8, zweight = 1)
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. |
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.
TransitionLayer
YosTL <- topoSurface(Yosemite$DEM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.