spell_length_max | R Documentation |
Calculates the maximum length of consecutive dry days.
spell_length_max(daily_prec, date_factor, threshold, op, spells_can_span_years)
daily_prec |
Numeric vector. Daily precipitation data. |
date_factor |
Factor. Date grouping factor. |
threshold |
Numeric. Precipitation threshold. |
op |
Character. Comparison operator. |
spells_can_span_years |
Logical. Whether spells can span across years. |
Numeric vector. Maximum spell lengths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.