fill_event_gaps {linbin} | R Documentation |
Fill Event Gaps
Description
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.
Usage
fill_event_gaps(e, max.length = Inf)
collapse_event_gaps(e, max.length = Inf)
Arguments
e |
An event table. |
max.length |
The maximum length of gaps to be filled or closed. |
See Also
Examples
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)
[Package linbin version 0.1.3 Index]