powered by
Returns the minimum and maximum endpoints of all the events in an event table.
event_range(e)
An event table.
event_coverage for an alternative that accounts for gaps.
event_coverage
# NOT RUN { event_range(events(1:5)) # no gaps event_range(events(c(1,5), c(1,5))) # gaps # }
Run the code above in your browser using DataLab