Get Sub-Timeseries belonging to Event(s)
hsGetEvent(tSeries, events, evtnums, useIndex = FALSE)
data frame representing time series with first column holding the timestamp
event information as returned by hsEvents
vector of event numbers to be selected
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