creating inteval object in r using lubridate package : <p>hi i have data from uber :
<a href="https://i.stack.imgur.com/qZaKs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qZaKs.png" alt="enter image description here"></a></p>

<p>about pick ups in NYC . 
im trying to add a column to the raw data, that indicates for each row, for
which time interval (which is represented by a single timepoint at the beginning of thetime interval) it belongs. </p>

<p>i want to Create a vector containing all relevant timepoints (i.e. every 15 minutes 
Use int_diff function from lubridate package on this vector to create an
interval object.
 Run a loop on all the time points in the raw data and for each data
point; indicate to which interval (which is represented by a single
timepoint at the beginning of the time interval) it belongs. </p>

<p>i tried looking for explanations how to use the int_diff function but i dont understand how my vector should look and how the syntax of int_diff works 
 tanks for the help :)</p>
