View source: R/UtilityFunctions.R
| daylength | R Documentation |
The function calculates daylength in hours as a function of latitude and day of year. Uses the CMB model \insertCiteCampbell1998TrenchR.
daylength(lat, doy)
lat |
|
doy |
|
numeric day length (hours).
Other utility functions:
airpressure_from_elev(),
azimuth_angle(),
day_of_year(),
dec_angle(),
solar_noon(),
temperature conversions,
zenith_angle()
daylength(lat = 47.61,
doy = 112)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.