Learn R Programming

doolkit (version 1.42.2)

slope: slope

Description

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

Usage

slope(mesh)

Value

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

Arguments

mesh

object of class mesh3d

References

Ungar and Williamson (2000)

See Also

inclin

Examples

Run this code
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)

Run the code above in your browser using DataLab