power: Power of a 'tts' object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/power.R

Description

Returns the power of a tts object, i.e., the mean over time of the squared magnitude (which is a function of timescale)

Usage

1
2
3
4
power(object)

## S3 method for class 'tts'
power(object)

Arguments

object

A tts object

Value

power returns a data frame with columns timescales and power

Author(s)

Daniel Reuman, reuman@ku.edu

See Also

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

Examples

1
2
3
4
5
6
times<-1:10
timescales<-1:10
values<-matrix(rep(complex(modulus=1,argument=2*pi*c(0:9)/10),times=10),10,10)
ttsobj<-tts(times,timescales,values)
res<-power(ttsobj)
 

wsyn documentation built on Jan. 15, 2021, 3:37 p.m.