DayLen: Day Length Calculator

Description Usage Arguments Author(s) Examples

View source: R/DayLen.R

Description

This function calculates the annual daylight hours at a given location.

Usage

1
DayLen(Lng, Lat, Type = "Annual", Labels = NULL)

Arguments

Lng

Longitude at given location

Lat

Latitude at given location

Type

Annual, monthly, or custom. Defaults to annual

Labels

Optional abels for custom time periods

Author(s)

Mark Otto (FWS)

Examples

1
2
3
4
DayLen(Lng=-65.6342,Lat=38.118352,Type="Annual")
DayLen(Lng=-65.6342,Lat=38.118352,Type="Monthly")
DayLen(Lng=-75.6342,Lat=38.118352, Type=c("02/29","06/30","09/30"), Labels=c("Fall-Winter","Spring:Breed,Fledge","Summer"))
DayLen(Lng=-75.6342,Lat=38.118352,Type=c("02/29","06/30","09/30"), Labels=c("Winter","Spring:Breed,Fledge","Summer","Fall"))

josephstatwick/EagleModelCalc documentation built on Dec. 12, 2018, 9:12 a.m.