Learn R Programming

foreSIGHT (version 1.2.0)

func_maxDSD: Calculates maximum dry spell duration (below threshold)

Description

Calculates maximum dry spell duration (below threshold)

Usage

func_maxDSD(data, attArgs)

Arguments

data

is a vector, representing a time series

attArgs

is a list, with attArgs$threshold denoting the threshold