Open aldotapia opened 2 years ago
Hi, we have used a similar function in some of our works. It'd be nice to include the routine in a function, with the ability to define a custom threshold for drought other than 0.
Excellent, I'm gonna refactoring it with base R, since dpylr isn't a SPEI's dependence
Based on the package's example:
Since events duration, peak and severity can be obtain from
spei
output, it would be great to attach a table with the summary of these.Some thoughts using
dplyr
:What do you think?