index.meanGE: Arithmetic mean of days equal or above threshold

View source: R/index.meanGE.R

index.meanGER Documentation

Arithmetic mean of days equal or above threshold

Description

Function to compute the arithmetic mean of days equal or above a given threshold.

Usage

index.meanGE(ts, threshold = 1)

Arguments

ts

A vector containing the data

threshold

Threshold value. Default to 1.

Details

The function is envisaged for calculating the mean precipitation of wet days, excluding dry ones (a.k.a. simple day intensity index).

Value

A float number corresponding to the mean of days above the threshold.

Author(s)

J. Bedia


SantanderMetGroup/R_VALUE documentation built on July 4, 2023, 4:27 a.m.