Repeat a Time of Day Across a Recording
Note
This supplies daily plotting boundaries such as a fixed bedtime or wake time for every calendar date present in a recording.
Examples
time = as.POSIXct(c("2020-01-01 12:00:00", "2020-01-03 12:00:00"), tz = "UTC")
acti_repeat_time_of_day("01:30", time)
#> [1] "2020-01-01 01:30:00 UTC" "2020-01-02 01:30:00 UTC"
#> [3] "2020-01-03 01:30:00 UTC"