In particular, the area to be filled with arrows can be determined in several ways: to reflect significance (at a given level) with respect to cross-wavelet power, wavelet coherency, or individual wavelet power, and/or to flag a high-value region ("high" according to a given level) with respect to cross-wavelet power (coherency values, respectively).
There is an option to choose "smoothed" arrows (phase differences) for plotting;
these have been computed from smoothing filters as defined in analyze.coherency
.
The name and layout were inspired by a similar function developed by Huidong Tian and Bernard Cazelles
(archived R package WaveletCo
). The code for the arrow design to reflect phase differences
has been adopted from Huidong Tian.
wc.angle(WC = WC, use.sAngle = T, p = 1, which.lvl = "wp", lvl = 0, which.sig = which.lvl, siglvl = 0.05, col.arrow = "black")
analyze.coherency
p=0 | : | |
area with high values of which.lvl only |
||
(cf. lvl ) |
||
p=1 | : | area of significance of which.sig only |
(cf. siglvl ) |
p=2 | |
: | area with both high values and significance |
"wp" | : | |
cross-wavelet power | "wp" |
"wp" | : | |
cross-wavelet power (default) | "wc" | |
: | wavelet coherence |
which.lvl
which.sig
(if p=1 or 2).Default: 0.05
Aguiar-Conraria L., and Soares M.J., 2011. Business cycle synchronization and the Euro: A wavelet analysis. Journal of Macroeconomics 33 (3), 477--489.
Aguiar-Conraria L., and Soares M.J., 2011. The Continuous Wavelet Transform: A Primer. NIPE Working Paper Series 16/2011.
Cazelles B., Chavez M., Berteaux, D., Menard F., Vik J.O., Jenouvrier S., and Stenseth N.C., 2008. Wavelet analysis of ecological time series. Oecologia 156, 287--304.
Liu P.C., 1994. Wavelet spectrum analysis and ocean wind waves. In: Foufoula-Georgiou E., and Kumar P., (eds.), Wavelets in Geophysics, Academic Press, San Diego, 151--166.
Tian, H., and Cazelles, B., 2012. WaveletCo
. Available at http://cran.r-project.org/src/contrib/Archive/WaveletCo/, archived April 2013; accessed July 26, 2013.
Torrence C., and Compo G.P., 1998. A practical guide to wavelet analysis. Bulletin of the American Meteorological Society 79 (1), 61--78.
Veleda D., Montagne R., and Araujo M., 2012. Cross-Wavelet Bias Corrected by Normalizing Scales. Journal of Atmospheric and Oceanic Technology 29, 1401--1408.
analyze.coherency
, wc.image
, arrow