nocturnal | R Documentation |
calculates sunset and sunrise for each data point and the distance to it. For nocturnal species sunrise is +1 day of sunset
nocturnal(data, Lat, Lon, tcol, tz)
data |
data.frame, data with timestamps |
Lat |
numeric, reference latitude for sunrise/sunset calculation |
Lon |
numeric, reference longitude for sunrise/sunset calculation |
tcol |
string, colname of timestamp column |
tz |
string, time zone of region ton convert timezone of data to the right format |
Jannis Gottwald
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.