data.table - How to count overlaps between multiple categories in R -
i have data frame of start time, end time in unix time stamp , category, below:
i want find overlaps of 1 category "a" among other categories "b" & "c" , same other categories. want find how many number of categories overlapped how many times e.g. 2 categories overlapped 3 times , 3 categories overlapped 5 number of time. , average of duration overlapped shown below.
Comments
Post a Comment