averageSpellLength | R Documentation |
Calculate length of a wet or a dry spell
averageSpellLength(x, threshold = 0, below = TRUE)
x |
numeric vector of values |
threshold |
numeric threshold to define the wet or a dry spell |
below |
binary variable. TRUE considers values less than or equal, FALSE above the threshold. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.