distanceH {dendrometry} | R Documentation |
Horizontal distance
Description
Horizontal distance calculation for sloping area.
Usage
distanceH(
distance,
angle,
type = c("slope", "angle"),
angleUnit = c("deg", "rad")
)
Arguments
distance |
numeric, vector of the distance measured on sloping area. |
angle |
numeric, vector of angle or slope values. |
type |
character, type of |
angleUnit |
character, unit of |
Value
A vector of horizontal distance.
Examples
distanceH(20, 30)
distanceH(20, angle = 30, type = "slope")
distanceH(20, angle = 25, type = "angle")
[Package dendrometry version 0.0.3 Index]