check.data: Check the format of time series

Description Usage Arguments Value Author(s) References Examples

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
3
# Not run:
# t1=cbind(1:100, rnorm(100))
# check.data(y=t1)

Example output

biwavelet 0.20.11 loaded.

biwavelet documentation built on May 2, 2019, 5:10 p.m.