slope2angle {dendrometry} | R Documentation |
Slope to angle
Description
Converts slope values to angle values.
Usage
slope2angle(slope, angleUnit = c("deg", "rad"))
Arguments
slope |
numeric vector of slope to be converted to angle. |
angleUnit |
the desired unit for the returned angle value. Either |
Value
A vector of angle values in specified unit.
See Also
angle2slope
, the reciprocal of slope2angle
Examples
slope2angle(100)
slope2angle(17.6327)
slope2angle(angle2slope(30))
[Package dendrometry version 0.0.2 Index]