slope: slope

View source: R/topography.R

slopeR Documentation

slope

Description

Compute slope i.e. the angle between triangles and the horizontal plane in degrees, comprised between 0 and 90.

Usage

slope(mesh)

Arguments

mesh

object of class mesh3d

Value

A numeric vector of slope values for all the polygons of the mesh.

References

Ungar and Williamson (2000)

See Also

inclin

Examples

slope <- slope(dkmodel$cusp)
summary(slope)

#render on a map:
dkmap(dkmodel$cusp, slope, col.levels = 9, col = "slope",
min.range = 0, max.range = 90, legend = TRUE)

doolkit documentation built on Feb. 16, 2023, 11 p.m.