ESPPred: Drought prediction with ESP method

Description Usage Arguments Value Examples

Description

Drought prediction with ESP method

Usage

1
ESPPred(X, Y, L = 1, m = 7, ts = 6)

Arguments

X

is the monthly variables.

Y

is the monthly variables.

L

is the lead time.

m

is the monthly variables.

ts

is the monthly variables.

Value

The prediction of univariate and multivariate drought index

Examples

1
2
3
X=runif(120, min = 0, max = 100)
Y=runif(120, min = 0, max = 100)
ESPPred(X,Y,L=1,m=7,ts=6)

Example output

$SDIx
            [,1]
 [1,] -0.1141853
 [2,]  0.1141853
 [3,] -0.9084579
 [4,] -0.1141853
 [5,] -0.3487557
 [6,]  0.1141853
 [7,]  0.1141853
 [8,] -0.1141853
 [9,]  0.1141853

$SDIy
            [,1]
 [1,] -0.6045853
 [2,] -0.6045853
 [3,] -0.6045853
 [4,] -0.6045853
 [5,] -0.1141853
 [6,]  0.1141853
 [7,] -0.6045853
 [8,]  0.1141853
 [9,] -0.6045853

$DIxy
            [,1]
 [1,] -1.0187948
 [2,] -0.6651902
 [3,] -1.5951802
 [4,] -1.0187948
 [5,] -1.0187948
 [6,] -0.3805229
 [7,] -0.6651902
 [8,] -0.6651902
 [9,] -0.6651902

$xp
[1] -0.1141853

$yp
[1] -0.6045853

$xyp
[1] -0.6651902

drought documentation built on May 2, 2019, 5:54 p.m.