Description Usage Arguments Details Value See Also Examples
View source: R/event_metrics.R
Returns the number of events on each interval. Useful for sampling the original data with sample_events
at the highest possible resolution that nevertheless flattens overlapping events.
1 |
e |
An event table. |
Point events are preserved and line events are cut as necessary at the endpoints of other point or line events.
An endpoint-only event table with column "n" listing the number of overlapping events on that interval.
1 2 | e <- events(c(0, 10, 15, 25, 30), c(10, 20, 25, 40, 30))
event_overlaps(e)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.