This function lags the all series in
x according to their cross-
choose_lag(x, y, lag.max = 0.5)
Array containing the IMFs to lag.
vector containing the response with which to maximize the correlation.
The maximum lag to consider relatively to the mean period of each IMF.
In this function, the lag is determined automatically for each IMF
x. The lag chosen is the one maximizing the cross-correlation
(in absolute value) between the IMF and
For each IMF in
x, the maximum lag considered in the search
is lag.max * IMF period (rounded). For example, for an IMF of mean period
lag.max = 0.5, the maximum lag considered is 5.
An array with the same dimensions as
x containing the lagged
IMFs. In addition contains an attribute
lag storing the lags chosen
for each IMF.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.