50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

dendrometry (version 0.0.2)

slope2angle: Slope to angle

Description

Converts slope values to angle values.

Usage

slope2angle(slope, angleUnit = c("deg", "rad"))

Value

A vector of angle values in specified unit.

Arguments

slope

numeric vector of slope to be converted to angle.

angleUnit

the desired unit for the returned angle value. Either "deg" or "rad". Default is "deg".

See Also

angle2slope, the reciprocal of slope2angle

Examples

Run this code
slope2angle(100)
slope2angle(17.6327)
slope2angle(angle2slope(30))

Run the code above in your browser using DataLab