View source: R/km_to_horizon.R
km_to_horizon | R Documentation |
Calculate distance to horizon
km_to_horizon(h, R = 6364.5)
h |
Height of observer, in meters |
R |
Radius of the earth, in kilometers (default is |
A list with two elements: $a
is the angle to the horizon,
in degrees from a horizontal plane,
and $km
is the distance, in kilometers, from the observer to the horizon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.