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