tts: Creator function for the 'tts' class

Description Usage Arguments Value Author(s) See Also Examples

View source: R/tts.R

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

1
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

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

wsyn documentation built on June 19, 2021, 1:07 a.m.