Description Usage Arguments Value Author(s)
View source: R/g.detecmidnight.R
Detect all midnights in a time series
1 | g.detecmidnight(time,desiredtz)
|
time |
Vector of timestamps, either in iso8601 or in POSIX format |
desiredtz |
See g.part2 |
Output of the function is list containing the following objects:
firstmidnight = timestamp of first midnight
firstmidnighti = index of first midnight
lastmidnight = timestamp of last midnight
lastmidnighti = index of last midnight
midnights = timestamps of midnights
midnightsi = indeces of midnights
Vincent T van Hees <vincentvanhees@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.