Skip to contents

Calculates the integrals (sum of all value columns within event's time interval, multiplied with "signal width" of events)

Usage

hsIntegrals(data, evts, dbg = FALSE)

Arguments

data

time-series data with timestamp in first column

evts

event data describing events contained in data

dbg

if TRUE, debug messages are shown

Value

vector of integral values with one value per event. Length of vector corresponds to number of rows in evts