photoperiod {lomb} | R Documentation |
Computes photoperiod
Description
computes sunrise & sunset for day of year and location
Usage
photoperiod(dayofyear, latitude, longitude, zone = 0, twilight = "civil")
Arguments
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" |
Value
sunrise |
vector of sunrises |
set |
vector of sunsets |
References
http://lexikon.astronomie.info/zeitgleichung/
Examples
photoperiod (180, 42,9, zone=1, twilight="civil")
[Package lomb version 2.5.0 Index]