perpslope: Calculates slope perpendicular to direction of flow

Description Usage Arguments Value Examples

Description

perpslope is an internal function used by flowvelocity() to calculate the slope perpendicular to the direction of flow.

Usage

1
perpslope(dem)

Arguments

dem

a raster object of elevations.

Value

a raster object of slope angle in radians perpendicular to the direction of flow

Examples

1
2
dem <- aggregate(dtm1m, 20)
plot(perpslope(dem) * (180 / pi), main = "slope")

ilyamaclean/ecohydrotools documentation built on June 10, 2019, 5:45 a.m.