powered by
Check the format of time series
check.data(y, x1 = NULL, x2 = NULL)
Returns a named list containing:
Time steps
Size of a time step
Number of observations
Time series y in matrix format (n rows x 2 columns). The first column should contain the time steps and the second column should contain the values.
y
n
Time series x1 in matrix format (n rows x 2 columns). The first column should contain the time steps and the second column should contain the values.
x1
Time series x2 in matrix format (n rows x 2 columns). The first column should contain the time steps and the second column should contain the values.
x2
Tarik C. Gouhier (tarik.gouhier@gmail.com)
Torrence, C., and G. P. Compo. 1998. A Practical Guide to Wavelet Analysis. Bulletin of the American Meteorological Society 79:61-78.
t1 <- cbind(1:100, rnorm(100)) check.data(y = t1)
Run the code above in your browser using DataLab