fDLfun: Relative amount of daylight hours at a specified date and...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/SunsetSunrise.R

Description

Relative amount of daylight hours at a specified date and location.

Usage

1
2
fDLfun(date = "2016-07-01", phi = 51.176, lambda = 4.326, H = 0,
  method = c("insol", "almanac"))

Arguments

date

POSIXct object or date specificied in unambiguous format. See as.POSIXct

phi

Latitude

lambda

Longitude

H

Height of location where fDL is to be calculated

method

Method for daylength calculation. "insol" (default) makes use of the function daylength() from the package insol; "almanac" makes use of SunRiseSet implementing the algorithm from the Astronomical Almanac

Value

The fraction of daylight hours at the specified date and location. Sunrise and Sunset are calculated with SunRiseSet.

Author(s)

Tom Cox <tom.cox@uantwerp.be>

See Also

SunRiseSet

Examples

1
fDLfun("2016-06-21")

tomjscox/GPPFourier documentation built on May 3, 2019, 2:57 p.m.