i've time series, in proper posix time, i'd bin according only time of day. i'm able bin things in, say, hours—but these hours date-specific (for example: 2016-05-15 00:00:00
, 2016-05-16 00:00:00
considered different bins).
i'd lump 00:00:00 - 00:59:59
1 bin, 01:00:00 - 01:59:59
bin, etc., can't find means of doing without including date.
does have idea how this? i've fooled around cut
, lubridate
no avail.
drop date , deal time component?
format(tt, "%h:%m:%s")
extracts time component string, can modified further convert format binning code handles. alternatively, make date same prior binning.