solar | R Documentation |
Calculate solar time, the equation of time and solar declination
solar(tm)
tm |
a vector of POSIXct times. |
The solar time, the equation of time and the sine and cosine of
the solar declination are calculted for the times specified by
tm
using the same methods as
https://gml.noaa.gov/grad/solcalc/.
A list containing the following vectors.
solarTime |
the solar time (degrees) |
eqnTime |
the equation of time (minutes of time) |
sinSolarDec |
sine of the solar declination |
cosSolarDec |
cosine of the solar declination |
zenith
## Current solar time
solar(Sys.time())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.