I have time series GPS tracking data from a number of individuals, all with varying time between locations (i.e. certain individuals recording at 15 minutes intervals, others at 20 minutes or 1 hour). Tracking starts at sunrise and ends at sunset, omitting overnight locations. I would like to subset the data to 1 hour to make it comparable. I am currently doing this in excel although it is proving to be a rather tedious method. Is there a method in R that can speed up this process?