Learn R Programming

wsyn (version 1.0.4)

power: Power of a tts object

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

power(object)

# S3 method for tts power(object)

Arguments

object

A tts object

Value

power returns a data frame with columns timescales and power

See Also

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

Examples

Run this code
# NOT RUN {
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)
 
# }

Run the code above in your browser using DataLab