twilightPairs | R Documentation |
Convert streams of twilights to sunrise/sunset pairs
twilightPairs(twilight, rise)
twilight |
the observed times of twilight as POSIXct. |
rise |
logical vector indicating which twilights are sunrise. |
This function converts the twilight, rise format used by Stella and Estelle into successive sunrise and sunset pairs.
A dataframe with columns
|
times of earlier twilight as POSIXct objects |
|
times of later twilight as POSIXct objects |
|
logical vector indicating whether the twilights span a day. |
|
the midpont of the two twilights. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.