Get Events
getEvents(rainData, seriesName, signalThreshold = 0,
signalComparisonOperator = "gt", eventSeparationTime = 6 * 3600,
eventSeparationOperator = "gt", signalWidth = NA,
column.time = names(rainData)[1])
data frame with time stamps in the first column and rain heights (or intensities) in the remaining columns
Column name in rainData representing the time series to be analysed.
Value that needs to be exceeded (signalComparisonOperator == "gt") or reached (signalComparisonOperator == "ge") by the rain heights (or intensities) in order to be counted as a "signal". Default: 0
Operator to be applied when comparing rain values with signalThreshold. Must be one of "gt" (greater than) or "ge" greater than or equal. Default: "gt".
Time difference in seconds that needs to be exceeded (eventSeparationOperator == "gt") or reached (eventSeparationOperator == "ge") by two consecutive signals in order to let the signals belong to two distinct events. Otherwise the signals are assumed to belong to one and the same event. Default: 6*3600 = six hours.
Operator to be applied when comparing the time differences between consecutive signals with the eventSeparationTime. Must be one of "gt" (greater than) or "ge" greater than or equal. Default: "gt".
signal width (= length of the time interval represented by
one row in rainData
) in seconds
name of the column containing the time. Default: Name of the first column