angle2slope {dendrometry} | R Documentation |
Angle to slope
Description
Converts angle values to slope values.
Usage
angle2slope(angle, angleUnit = c("deg", "rad"))
Arguments
angle |
numeric vector of angle to be converted to slope. |
angleUnit |
The unit of |
Value
A vector of slope values.
See Also
slope2angle
, the reciprocal of angle2slope
.
Examples
angle2slope(10)
angle2slope(angle = 45)
angle2slope(angle = 50, angleUnit = "deg")
angle2slope(1.047198, "rad")
angle2slope(0.2617994, angleUnit = "rad")
[Package dendrometry version 0.0.2 Index]