Reference | R Documentation |
Calculates the Standardised Precipitation Index (SPI) and Standardised Precipitation-Evapotranspiration Index (SPEI) using a reference data source.
Reference(ref, distr = "GEV", PEMethod = "HS", TS = 4L)
ref |
A data frame with the variables required for calculating the SDIs.
See |
distr |
A character variable (“GEV” or “GLO”) defining which distribution is used to calculate the SPEI. Default is “GEV”. |
PEMethod |
A character variable (“HS” or “PM”) defining the potential evapotranspiration method. Default is “HS”. |
TS |
Time scale on the “quart.month” basis (whole values between 1 and 96). Default is 4. |
A data frame with five columns
rain,
potential evapotranspiration,
difference between rainfall and potential evapotranspiration,
SPI calculated at the time scale selected by the user, and
SPIE calculated at the time scale selected by the user
Reference(ref = refHS, distr = "GEV", PEMethod = "HS", TS = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.