# ENSO is a standardized index based on the sea level pressure differences between
# Tahiti and Darwin, Australia. MEI is a similar index based on multiple factors.
# As opposed to ENSO (and SOI), positive values of MEI correspond to warmer temperatures.
tsplot(cbind(-ENSO, MEI), col=astsa.col(2*2:1, .6), addLegend=TRUE, spag=TRUE, lwd=1:2)
tspairs(ts.intersect(-ENSO, MEI), location='top')
Run the code above in your browser using DataLab