func_avgWSD: Calculates average wet spell duration (below threshold)
Description
Calculates average wet spell duration (below threshold)
Usage
func_avgWSD(data, attArgs)
Arguments
- data
is a vector, representing a time series
- attArgs
is a list, with attArgs$threshold denoting the threshold