PropagationMCC | R Documentation |
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.
PropagationMCC(X, Y, acc = 12, lim = c(-1, 1), color = NA)
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 |
Plot of correlation matrix
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.