How to calculate time difference with previous row of a data.frame by group

Leave a Comment