Learn R Programming

pheno (version 1.7-1)

daylength: Daylength at julian day i on latitude l

Description

Calculates daylength [h] and declination angle delta [radians] on day i [julian day of year] for latitude l [degrees].

Usage

daylength(i,l)

Value

dl

daylength [h]

delta

declination angle [degrees]

Arguments

i

Integer as julian day of year (1-365)

l

Float as latitude [degress]

Author

Joerg Schaber

Examples

Run this code
	daylength(as.integer(120),63)

Run the code above in your browser using DataLab