Description Usage Arguments Details Value Examples
Based on the vector of monthly variables, the standardized drought index is computed. Note here the standardized precipitation index (SPI) is used as the example of the drought index in the univariate case. It also represents other drought indices computed in the similar way as SPI.
1 |
X |
The vector of a monthly hydro-climatic variable of n years. |
ts |
is the accumulated time scale. |
dist |
is distribution funciton. |
Apart from the standardized drought index, the percentile (probability) is also provided,
The univariate and multivariate drought index of different time scale from both the empirical and gamma distribution
1 2 3 4 5 |
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] NA NA -1.0187948 -1.0187948 -1.0187948 -1.0187948
[2,] 1.5430979 0.2784046 -0.6651902 -0.1241636 0.1241636 1.5951802
[3,] -1.5430979 -1.5430979 -1.5951802 -1.5951802 -0.6651902 0.6651902
[4,] 0.0000000 0.0000000 0.3805229 0.3805229 1.0187948 1.0187948
[5,] -0.2784046 -0.5807581 -0.3805229 -0.6651902 -0.3805229 -0.3805229
[6,] 0.5807581 -0.2784046 0.1241636 -0.3805229 0.3805229 0.1241636
[7,] -0.9500138 -0.9500138 -0.1241636 0.6651902 1.5951802 -0.1241636
[8,] 0.9500138 1.5430979 1.5951802 1.0187948 0.6651902 0.3805229
[9,] -0.5807581 0.9500138 0.6651902 0.1241636 -1.5951802 -1.5951802
[10,] 0.2784046 0.5807581 1.0187948 1.5951802 -0.1241636 -0.6651902
[,7] [,8] [,9] [,10] [,11] [,12]
[1,] -1.0187948 0.1241636 0.3805229 1.5951802 1.5951802 1.5951802
[2,] 0.1241636 -0.6651902 -1.5951802 -1.5951802 -0.6651902 -0.6651902
[3,] -0.1241636 -0.3805229 -0.3805229 -0.1241636 0.6651902 0.3805229
[4,] 1.5951802 1.5951802 0.6651902 1.0187948 0.3805229 0.1241636
[5,] -0.3805229 -0.1241636 -1.0187948 -0.6651902 -0.3805229 0.6651902
[6,] 0.6651902 -1.0187948 0.1241636 -0.3805229 0.1241636 -1.5951802
[7,] -0.6651902 -1.5951802 -0.6651902 0.3805229 -0.1241636 1.0187948
[8,] 1.0187948 0.6651902 -0.1241636 -1.0187948 -1.0187948 -1.0187948
[9,] -1.5951802 0.3805229 1.5951802 0.6651902 1.0187948 -0.1241636
[10,] 0.3805229 1.0187948 1.0187948 0.1241636 -1.5951802 -0.3805229
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.