Description Usage Arguments Value Author(s) Examples
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.
1 | 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>
1 | startandendtime = getStartEnd(d="20/5/2017", startHour=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.