spell_length_max {rIACI} | R Documentation |
Maximum Length of Consecutive Dry Days
Description
Calculates the maximum length of consecutive dry days.
Usage
spell_length_max(daily_prec, date_factor, threshold, op, spells_can_span_years)
Arguments
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. |
Value
Numeric vector. Maximum spell lengths.
[Package rIACI version 1.0.0 Index]