distanceH | R Documentation |
Horizontal distance calculation for sloping area.
distanceH(
distance,
angle,
type = c("slope", "angle"),
angleUnit = c("deg", "rad")
)
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 |
A vector of horizontal distance.
distanceH(20, 30)
distanceH(20, angle = 30, type = "slope")
distanceH(20, angle = 25, type = "angle")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.