binSpell: Function to compute number and length of binary (e.g. 0=dry,...

View source: R/indicesFAO_tier1.R

binSpellR Documentation

Function to compute number and length of binary (e.g. 0=dry, 1=wet) spells

Description

Function to compute number and length of binary (e.g. 0=dry, 1=wet) spells

Usage

binSpell(data)

Arguments

data

Vector with data (e.g. daily precipitation)

Value

Sequence of spells, including the duration of each spell. The search is done within the "data" vector

Author(s)

R. Manzanas


SantanderMetGroup/climate4R.indices documentation built on July 3, 2023, 11:02 p.m.