R timestamp with iteration for Machine Learning- 30 minute window
问题 I have a data frame with a timestamp column (converted to real time) that looks like this (only a small portion is shown): "2016-05-25 08:59:21 EDT" "2016-05-25 08:59:21 EDT" "2016-05-25 08:59:21 EDT" "2016-05-25 08:59:22 EDT" "2016-05-25 09:39:57 EDT" "2016-05-25 09:40:33 EDT" (Of course, there are other columns that are adjacent to the timestamp column.) What I want to achieve is...to divide all the data into 30 minute sections. So, I want all the data between 08:59:00 ~ 09:29:00 grouped