Time of the day when a fix was taken
A convenience wrapper around maptools::sunriset
and maptools::crepuscule
to extract if a fix was taken during day or night (optionally also include dawn and dusk).
time_of_day(x, ...) ## S3 method for class 'track_xyt' time_of_day(x, solar.dep = 6, include.crepuscule = FALSE, ...) ## S3 method for class 'steps_xyt' time_of_day(x, solar.dep = 6, include.crepuscule = FALSE, where = "end", ...)
x |
|
... |
Further arguments, none implemented. |
solar.dep |
|
include.crepuscule |
|
where |
|
data(deer) deer %>% time_of_day() deer %>% steps_by_burst %>% time_of_day() deer %>% steps_by_burst %>% time_of_day(where = "start") deer %>% steps_by_burst %>% time_of_day(where = "end") deer %>% steps_by_burst %>% time_of_day(where = "both")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.