Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/fire_index_functions.r
Calculates a vector of length 366 containing the number of hours the sun was above the horizon for each day of the year.
1 | daylengths(latitude)
|
latitude |
Latitude of site, southern latitudes take negative values. |
This is an approximate function, and day lengths are calculated to a resolution of approximately 2 minutes.
A vector of day lengths in hours.
Grant Williamson
dayintegral
,hourwatt
,sunaltitude
1 2 3 | latitude = -42
l=daylengths(latitude)
plot(l,type="l")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.