eventLimits | R Documentation |
return only the limits tBeg and tEnd of the event, possibly extended by a "context"
eventLimits(events, context = c(0, 0), absolute = FALSE)
events |
events as returned by e.g. |
context |
Vector of two elements giving the "context" before and after the event to be plotted, in percentage of event duration. e.g. c(0.1, 0.2) means that the time interval to be plotted starts 10 percent of the event duration before the event begin and ends 20 percent of the event duration after the end of the event. |
absolute |
if TRUE, the context values are interpreted as absolute values (seconds) instead of fractions of the event duration. Default: FALSE |
data frame with columns tBeg and tEnd, taken from events and possibly reduced (tBeg) and/or extended (tEnd) by a fraction of the event duration (read from column dur in events).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.