Description Usage Arguments See Also Examples
View source: R/event_operations.R
fill_event_gaps
fills gaps below a maximum length with empty events. collapse_event_gaps
shifts event endpoints to close gaps below a maximum length.
1 2 3 | fill_event_gaps(e, max.length = Inf)
collapse_event_gaps(e, max.length = Inf)
|
e |
An event table. |
max.length |
The maximum length of gaps to be filled or closed. |
1 2 3 4 5 | e <- events(c(1, 4), c(2, 5), x = 1)
fill_event_gaps(e)
fill_event_gaps(e, max.length = 1)
collapse_event_gaps(e)
collapse_event_gaps(e, max.length = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.