Description Usage Arguments Details Value
Calculate the zenith angle.
1 | zenith(dayofyear, year, tz, latitude, longitude, interval = 1L)
|
dayofyear |
Numeric vector containing the day of year(s), for which the zenith angle should be calculated. |
year |
Numeric vector containing the year(s) for which the zenith angle sould be calculated. |
tz |
UTC Offset. Ex: Eastern Standard Time = -5. |
latitude |
Latitude of the location at which the zenith angle is to be calculated. |
longitude |
Longitude of the location at which the zenith angle is to be calculated. |
interval |
Number of minutes between zenith angle calculations. Defaults to (every minute). Must be an integer between 1 and 60, inclusive. |
zenith is vectorized over both dayofyear and year, with the shorter vector being recycled as usual.
A single vector of the zenith angles at each interval throughout the specified time period (i.e. a vector of length (60 * 24 / interval) * number of days).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.