photoperiod | R Documentation |
computes sunrise & sunset for day of year and location
photoperiod(dayofyear, latitude, longitude, zone = 0, twilight = "civil")
dayofyear |
day of ywar 1-366 |
latitude |
e.g. 42.00 |
longitude |
e.g. 9.00 |
zone |
time zone e.g 1 (Vienna) |
twilight |
"rise/set", "civil" or "nautic" |
sunrise |
vector of sunrises |
set |
vector of sunsets |
http://lexikon.astronomie.info/zeitgleichung/
photoperiod (180, 42,9, zone=1, twilight="civil")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.