hsMergeEvents | R Documentation |
Events in data frames events1 and events2 are merged in such a way that overlapping events are combined to one event and events that are fully contained in other events are discarded.
hsMergeEvents(events1, events2, renumber = TRUE, dbg = FALSE)
events1 |
data frame containing events as provided by e.g. hsEvents |
events2 |
data frame containing events as provided by e.g. hsEvents |
renumber |
if TRUE, rows in result data frame are renumbered from one to number of rows. |
dbg |
if |
data frame with fields tBeg, tEnd, dur containing the times of event begin and event end and the event duration in seconds, respectively. The event duration is the difference between end and begin of the event plus the time period that one timestamp represents (signal width).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.