R: how to filter a timestamp by hour and minute?

前端 未结 5 758
粉色の甜心
粉色の甜心 2020-12-21 00:47

I am struggling with the following example

time = c(\'2013-01-03 21:59:21.549\', \'2013-01-04 22:00:21.549\', \'2013-01-05 22:01:21.222\', \'2013-01-06 22:06         


        
5条回答
  •  無奈伤痛
    2020-12-21 01:08

    Another way of filtering time window can be attained by converting the timestamp to minutes or seconds (with time setup from 0000 - 2400), store it in a new variable and filter using the new variable.

提交回复
热议问题