check.data {biwavelet}R Documentation

Check the format of time series

Description

Check the format of time series

Usage

check.data(y, x1 = NULL, x2 = NULL)

Arguments

y

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.

x1

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.

x2

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.

Value

Returns a named list containing:

t

Time steps

dt

Size of a time step

n.obs

Number of observations

Author(s)

Tarik C. Gouhier (tarik.gouhier@gmail.com)

References

Torrence, C., and G. P. Compo. 1998. A Practical Guide to Wavelet Analysis. Bulletin of the American Meteorological Society 79:61-78.

Examples

t1 <- cbind(1:100, rnorm(100))
check.data(y = t1)


[Package biwavelet version 0.20.21 Index]