Get Sub-Timeseries belonging to Event(s)
Arguments
- tSeries
data frame representing time series with first column holding the timestamp
- events
event information as returned by
hsEvents
- 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