Description Usage Arguments Details Value References Examples
View source: R/rhodcca_SlidingWindows.R
This function generates Detrended Cross-Correlation Coefficient of two time series with sliding windows approach.
1 | rhodcca.SlidingWindows(x, y, w = 98, k = 10, nu = 0)
|
x |
A vector containing univariate time series. |
y |
A vector containing univariate time series. |
w |
An integer value indicating the window size w < length(y). If w = length(y), will be computed the function will not slide. |
k |
An integer value indicating the boundary of the division (N/k). The smallest value of k is 4. |
nu |
An integer value. See DCCA package. |
This function include following measures:
w, timescale, rhodcca
A list containing "w", "timescale", "rhodcca".
GUEDES, E.F.; ZEBENDE, G.F. DCCA cross-correlation coefficient with sliding windows approach. PHYSICA A, v.527, p.121286, 2019. doi="doi.org/10.1016/j.physa.2010.10.022".
ZEBENDE, G.F. DCCA cross-correlation coefficient: Quantifying level of cross-correlation, Physica A, v. 390, n. 4, p. 614-618, 2011. doi="doi.org/10.1016/j.physa.2019.121286".
1 2 3 | x <- rnorm(100)
y <- rnorm(100)
rhodcca.SlidingWindows(x,y,w=99,k=10,nu=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.