spell.length.quantile: Quantile of lenghts of spells

View source: R/cloud_ind_MCH.R

spell.length.quantileR Documentation

Quantile of lenghts of spells

Description

This function calculates the qth quantile of the spell lenghts. The center of the spell determines to which date.factor the spell is counted to and theoretically, spells can last longer than the duration of a date.factor.

Usage

spell.length.quantile(cloud.bin, date.factor, q)

Arguments

cloud.bin

Time series of binary data (counted are 1s)

date.factor

Factor to aggregate by.

q

Quantile that should be calculated.

Value

for each date.factor, the qth quantile of the consecutive 1s


ECA-D/climind documentation built on Nov. 26, 2022, 10:20 a.m.