Learn R Programming

drought (version 1.2)

ESPPred: Drought prediction with ESP method

Description

Drought prediction with ESP method

Usage

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

Value

The prediction of univariate and multivariate drought index based on ESP

Arguments

X

is the monthly variables.

Y

is the monthly variables.

L

is the lead time.

m

is the start time of prediction (or ending of observations)

ts

is the time scale of monthly variables.

Examples

Run this code
X=runif(120, min = 0, max = 100) # 10-year monthly data
Y=runif(120, min = 0, max = 100)
ESPPred(X,Y,L=1,m=7,ts=6)

Run the code above in your browser using DataLab