Can anyone kindly share the the code of Rstudio, for SPI & SPEI analysis.