View source: R/wavelet_radius.R
wavelet_radius | R Documentation |
This function computes an approximation of the effective radius of a mother wavelet.
wavelet_radius(wname = c("MORLET", "DOG", "PAUL", "HAAR", "HAAR2"),
wparam = NULL,
perc = .0025,
scale = 100,
n = 1000,
makefigure = FALSE)
wname |
A string, equal to "MORLET", "DOG", "PAUL", "HAAR" or "HAAR2". The difference between "HAAR" and "HAAR2" is that "HAAR2" is more accurate but slower. |
wparam |
The corresponding nondimensional parameter for the wavelet function (Morlet, DoG or Paul). |
perc |
Numeric. The wavelet radius is computed so that the area covered is at
least the 100*(1- |
scale |
Numeric. Scale of the wavelet used in the computations. It only affects the accuracy. |
n |
Numeric. The computations use a time series of length |
makefigure |
Logical. Plots a figure with the real part of the mother wavelet and its modulus. |
A list with the following fields:
left
: The radius on the left.
right
: The radius on the right.
waverad <- wavelet_radius(wname = "MORLET", makefigure = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.