Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tts

Creator function for the tts class


Description

The tts (time/timescale) class is for matrices for which the rows correspond to times and the columns correspond to timescales. This is a general class from which other classes inherit (e.g., wt, wmf, wpmf). tts inherits from the list class.

Usage

tts(times, timescales, values)

Arguments

times

A numeric vector of increasing real values, spacing 1

timescales

A numeric vector with positive entries

values

A complex or numeric matrix of dimensions length(times) by length(timescales)

Value

tts returns an object of class tts. Slots are:

times

a numeric vector of evenly spaced times

timescales

a numeric vector of positive timescales

values

a complex or numeric matrix of dimensions length(times) by length(timescales)

Author(s)

Daniel Reuman, reuman@ku.edu

See Also

tts_methods, wt, wmf, wpmf, browseVignettes("wsyn")

Examples

times<-1:10
timescales<-1/c(1:10)
values<-matrix(1,length(times),length(timescales))
h<-tts(times,timescales,values)

wsyn

Wavelet Approaches to Studies of Synchrony in Ecology and Other Fields

v1.0.3
GPL-3
Authors
Daniel C. Reuman [aut, cre], Thomas L. Anderson [aut], Jonathan A. Walter [aut], Lei Zhao [aut], Lawrence W. Sheppard [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.