nday_consec_prec_max | R Documentation |
Calculates maximum precipitation over consecutive n days.
nday_consec_prec_max(
daily_prec,
date_factor,
ndays,
center_mean_on_last_day = FALSE
)
daily_prec |
Numeric vector. Daily precipitation data. |
date_factor |
Factor. Date grouping factor. |
ndays |
Integer. Number of consecutive days. |
center_mean_on_last_day |
Logical. Whether to center the mean on the last day. |
Numeric vector. Maximum precipitation amounts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.