getStartEnd {GGIR} | R Documentation |
Generate start and end time of a day when working with argument selectdaysfile in g.part1. The user provides a date and a start hour which is used to generate the timestamps of the start hour minutes 5 minutes and the start hour plus 24 hours. Function not designed for direct use by package user.
getStartEnd(d, startHour, outputFormat = "%d/%m/%Y %H:%M:%S",
tz = "Europe/London")
d |
character with date (without time) format |
startHour |
Hour that analysis starts at |
outputFormat |
Characterstring indicating outputFormat |
tz |
Same as desiredtz in g.part1 |
Data.frame with two columns: a start time five minutes before startHour on day d and an endtime 24 hours after startHour
Joe Heywood <j.heywood@ucl.ac.uk>
startandendtime = getStartEnd(d="20/5/2017", startHour=4)