topoSurface: Topographic distance surface

Description Usage Arguments Details Value Examples

View source: R/topoSurface.R

Description

Generates a TransitionLayer object for topographic distance from a RasterLayer

Usage

1
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

1
YosTL <- topoSurface(Yosemite$DEM)

topoDistance documentation built on Aug. 2, 2019, 5:05 p.m.