streaks: Summaries related to streaks of consecutive rainy days

Description Usage Arguments Value

Description

Summaries related to streaks of consecutive rainy days

Usage

1
streaks(x, cutoff = 0)

Arguments

x

Numeric vector of rainfall totals

cutoff

If cutoff>0, rain day defined as day where rain>=cutoff, otherwise rain day defined as day where rain>0

Value

A vector of mean_dur, mean streak duration; sd_dur, standard deviation of streak durations; mean_start_gap, mean times between start times. Where not meaningfully defined the default values of these are 0, 0 and length(x) + 1.


dennisprangle/rainfallABC documentation built on May 15, 2019, 3:26 a.m.