R Find overlap among time periods
问题 after a lot fo thinking and googling I could not find the solution to my problem, I hope you can help me. I have a large data frame with an ID column that can repeat more than 2 times, a start and and end date column that would make up a time period. I would like to find out, grouping by ID, if any of the time periods for that ID overlap with another one, and if so, flag it by creating a new column for example, saying if that ID has overlaps or not. Here is an example data frame already with