Description Usage Arguments Value Author(s) References See Also Examples
Calculates the time of sunrise and sunset based on latitude and date.
1 | sun.rise.set(datetimes, lat)
|
datetimes |
Vector of dates as |
lat |
Single latitude value of site. South should be negative, north positive |
A 2-column matrix, first column sunrise, second column sunset, as POSIXct format. Value is NA when there is no defined sunrise or sunset for that day (winter/summer at high and low latitudes).
Luke A. Winslow
Iqbal, Muhammad. 1983. An Introduction to Solar Radiation. Elsevier.
is.night is.day
1 | sun.rise.set(lat=40.75,datetimes=as.POSIXlt('2013-03-31'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.