check.data: Check the format of time series

Description Usage Arguments Value Author(s) References Examples

View source: R/check.data.R

Description

Check the format of time series

Usage

1
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

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

biwavelet documentation built on May 26, 2021, 9:06 a.m.