-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
group_times can't group odd time thresholds e.g. 2 hour threshold when times are 1am, 3am, 5am... 11pm.
This is because group_times considers the threshold in the context of 24 hours, and a two hour threshold would then group times to 0, 2, 4, 6...
Is there a way around this? Provide an 'offset' argument? Or just make sure it is clear in the vignettes and documentation?
A current workaround is using threshold = '1 hour' which will at least group to 0,1,2,3, ...