Create a new column and fill with if() function - time intervals

Try lubridate::interval(). You might need a date_time rather than just time though. Also next time provide a reproducible example.

2 Likes