findevents: Find precipitation events

Description Usage Arguments Value

View source: R/f_findevents.R

Description

This function identifies consecutive rainy days based on adily precipitation series.

Usage

1
findevents(data, thresholdA = 0, thresholdB = 0)

Arguments

data

(numeric) data series of daily precipitation values.

thresholdA

minimum amount of precipitation considered as rainy day (default 0).

thresholdB

same as thresholdA, used to set the ending of an event.

Value

matrix with indices corresponding to beginning, endings and length of the events.


rsnotivoli/nspotPrec documentation built on Dec. 22, 2021, 7:18 p.m.