Learn R Programming

wsyn (version 1.0.4)

warray: Creates an array of wavelet transforms from input timeseries

Description

Creates an array of wavelet transforms from input timeseries

Usage

warray(dat, times, scale.min = 2, scale.max.input = NULL, sigma = 1.05, f0 = 1)

Arguments

dat

A locations (rows) x time (columns) matrix

times

A vector of timestep values (e.g. years), spacing 1

scale.min

The smallest scale of fluctuation that will be examined. At least 2.

scale.max.input

The largest scale of fluctuation that will be examined. Note that if this is set too high relative to the length of the timeseries it will be truncated.

sigma

The ratio of each time scale examined relative to the next timescale. Greater than 1.

f0

The ratio of the period of fluctuation to the width of the envelope

Value

warray returns a list containing:

wavarray

locations x time x timescales array of wavelet transforms

times

the time steps specified (e.g., years)

timescales

the timescales (1/frequency) computed for the wavelet transforms