hsGetEvent | R Documentation |
Get Sub-Timeseries belonging to Event(s)
hsGetEvent(tSeries, events, evtnums, useIndex = FALSE)
tSeries |
data frame representing time series with first column holding the timestamp |
events |
event information as returned by |
evtnums |
vector of event numbers to be selected |
useIndex |
if TRUE, tSeries is filtered by comparing the real row number in tSeries with the begin and end indices given in columns iBeg and iEnd of events. If FALSE, tSeries is filtered by comparing the timestamps in tSeries with the begin and end timestamps given in columns tBeg and tEnd of events. Defaults to TRUE if events contains columns iBeg and iEnd |
rows of tSeries belonging to the event numbers listed in evtnums
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.