JDSI: Compute the multivariate drought index with joint...

Description Usage Arguments Value Examples

Description

Compute the multivariate drought index with joint distribution

Usage

1
JDSI(X, Y, ts = 6, type = 1)

Arguments

X

is The vector of a monthly hydro-climatic variable of n years.

Y

is The vector of a monthly hydro-climatic variable of n years.

ts

is the accumulated time scale.

type

is the method used to compute the JDSI (1 is Joint distribution and 2 is the Kendall function).

Value

The multivariate drought index of different time scales from the marginal probability (or percentile)

Examples

1
2
3
4
5
X=runif(120, min = 0, max = 100)
Y=runif(120, min = 0, max = 100)
fit<-JDSI(X,Y,ts=6)  
z=matrix(t(fit$JDSI),ncol=1)
plot(z, type="l", col=1, lwd=2, lty=1, xlim=c(0,120),xlab="Time",ylab="JDSI")

Example output



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