| morlet | R Documentation | 
This function performs a continuous wavelet transform on a time series.
morlet(y1, x1 = seq_along(y1), p2 = NULL, dj = 0.25, siglvl = 0.95)
| y1 | 
 | 
| x1 | 
 | 
| p2 | 
 | 
| dj | 
 | 
| siglvl | 
 | 
This performs a continuous wavelet transform of a time series.  This
function is typically invoked with wavelet.plot.
A list containing:
| y | 
 | 
| x | 
 | 
| wave | 
 | 
| coi | 
 | 
| period | 
 | 
| Scale | 
 | 
| Signif | 
 | 
| Power | 
 | 
This is a port of Torrence’s IDL code, which can be accessed through the Internet Archive Wayback Machine.
Andy Bunn. Patched and improved by Mikko Korpela.
Torrence, C. and Compo, G. P. (1998) A practical guide to wavelet analysis. Bulletin of the American Meteorological Society, 79(1), 61–78.
wavelet.plot 
library(utils)
data(ca533)
ca533.rwi <- detrend(rwl = ca533, method = "ModNegExp")
ca533.crn <- chron(ca533.rwi, prewhiten = FALSE)
Years <- time(ca533.crn)
CAMstd <- ca533.crn[, 1]
out.wave <- morlet(y1 = CAMstd, x1 = Years, dj = 0.1, siglvl = 0.99)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.