Learn R Programming

tripEstimation (version 0.0-46)

elevation: Calculate elevation of astronomical objects

Description

Function to calculate elevation.

Usage

elevation(lon, lat, sun)

Value

elevation returns a numeric vector of solar (or lunar) elevation as degrees above or below the horizone

Arguments

lon

vector of longitude values

lat

vector of latitude values

sun

pre-stored values as returned by solar or lunar

Author

Michael D. Sumner

References

https://gml.noaa.gov/grad/solcalc/azel.html