I have a data frame (CSV file) that consists of date and time with 5 minutes interval. I want to change it to 1 minutes interval using R.
It looks like this currently:
7/2/19 13:30
7/2/19 13:35
7/2/19 13:40
7/2/19 13:45
7/2/19 13:50
..... it has many rows
Can it be changed to the following format?
7/2/19 13:30
7/2/19 13:31
7/2/19 13:32
7/2/19 13:33
7/2/19 13:34
7/2/19 13:35
7/2/19 13:36
7/2/19 13:37
7/2/19 13:38
7/2/19 13:39
7/2/19 13:40
7/2/19 13:41
7/2/19 13:42
7/2/19 13:43
7/2/19 13:44
I think some type of loop must be used and I am a newbie at using R. I would be thankful if friends at this portal could help me solve this problem.