I just uploaded to CRAN the latest release of our SPEI R package, that is version 1.6. On this release we fix a number of important bugs, and made some modifications to the kern function and to the documentation. This is a list of the changes made to this version:
- Corrected an error in the function
thornthwaite
which resulted in wrong potential evapotranspiration estimates when a multivariate time series was used as input. - Corrected an error in the function
spi
which resulted in wrong handling of zero precipitation months when using the Gamma or PearsonIII distribution. - Minor fixes to the
spi
andplot.spei
functions to correctly handlespei
objects when they result from a call tospi
. - Modification to the
kern
function, which now yields kernel coefficients averaging one. - Corrected an error in the functions
spi
andspei
which resulted in ub-pwm method being used irrespective of the value of thefit
parameter used, when using the ‘Gamma’ or ‘PearsonIII’ distributions. - Minor changes to the documentation.
Sin comentarios