View source: R/eventRelation.R
overlapping | R Documentation |
Check event list for overlaps (begin of one event before the end of a previous event)
overlapping(events)
events |
event list as returned by |
TRUE if there are overlapping events, otherwise FALSE
events <- kwb.event::exampleEvents() # The example events do not overlap overlapping(events) # The order of the events (here reverse order) does not matter overlapping(events[nrow(events):1, ]) # Put the begin of the second event before the end of the last event events$tBeg[2] <- mean(c(events$tBeg[1], events$tEnd[1])) # Now there are overlapping events! overlapping(events)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.