View source: R/cloud_ind_MCH.R
fraction.within.cons.op.threshold | R Documentation |
This function calculates the fraction of days which are within spells with lengths of at least n+1 days. It uses two functions, select.blocks.gt.length and number.days.op.threshold, which were found in https://github.com/ECA-D/climind/blob/master/R/climdex.r
fraction.within.cons.op.threshold(cloud.bin, date.factor, n)
cloud.bin |
Time series of binary data (counted are 1s) |
date.factor |
Factor to aggregate by. |
n |
Maximum number of spell lenghts that should be skipped. |
for each date.factor the fraction of days which are whithin at least n+1 consecutive days
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.