PropagationMCC {drought} | R Documentation |
Compute drought propagation based on maximum correlation
Description
Compute the pearson correlation between multi-time scale SPI and 1-month SRI to reflect the most possible propagation time (PT) from meteorological drought to hydrological drought. Note here the propagation of meteorological to hydrological drought is used as an example. The propagation of other types of drought can also be computed.
Usage
PropagationMCC(X, Y, acc = 12, lim = c(-1, 1), color = NA)
Arguments
X |
The vector of monthly meteorological variable (e.g., precipitation) |
Y |
The vector of monthly hydrological variables (e.g., runoff) |
acc |
Maximum of propagation time (or accumulation periods) |
lim |
The limits interval for color |
color |
Color vector in plot |
Value
Plot of correlation matrix
References
Xu, Y. et al (2019). Propagation from meteorological drought to hydrological drought under the impact of human activities: A case study in northern China. J. Hydrol. 579, 124147. Zhang Y., Hao Z., Feng S., et al. (2021). Agricultural drought prediction in China based on drought propagation and large-scale drivers. Agr. Water Manage., 255: 107028.
Examples
X=runif(120, min = 0, max = 100) # 10-year monthly data
Y=runif(120, min = 0, max = 100) # 10-year monthly data
acc <- 12
lim <- c(-1,1)
PropagationMCC(X, Y, acc, lim)