photoperiod: Computes photoperiod

View source: R/photoperiod.R

photoperiodR 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")

lomb documentation built on May 29, 2024, 3:37 a.m.