daylength | R Documentation |
This routine uses Forsythe et al. 1995.
daylength(doy, latitude)
doy |
a vector with doy values 1 - 365(6) |
latitude |
a given latitude |
nested list with daylength (daylength) and solar elevation (solar_elev) elements
## Not run: # calcualte the hours of sunlight and solar elevation on day of year 1 # and latitude 51 ephem <- daylength(1, 51) print(ephem) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.