index.prcXXth: Sample quantiles

View source: R/index.prcXXth.R

index.prcXXthR Documentation

Sample quantiles

Description

Function to compute the sample quantiles for the given probabilities.

Usage

index.prcXXth(ts, prob = 0.25, threshold = NULL)

Arguments

ts

A vector containing the data

prob

A float number in the range [0,1] defining the probability of the quantile to be calculated.

threshold

Optional parameter. Remove data below the threshold value. Included to consider the case of precipitation. NULL by default.

Value

A float number corresponding to the quantile.

Author(s)

Neyko Neykov neyko.neykov@meteo.bg, J. Bedia, D. San-Mart\'in, S. Herrera


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