Learn R Programming

foreSIGHT (version 1.2.0)

func_maxWSD: Calculates maximum wet spell duration (above threshold)

Description

Calculates maximum wet spell duration (above threshold)

Usage

func_maxWSD(data, attArgs)

Arguments

data

is a vector, representing a time series

attArgs

is a list, with attArgs$threshold denoting the threshold