Learn R Programming

season (version 0.3.15)

peri: Periodogram

Description

Estimated periodogram using the fast Fourier transform (fft).

Usage

peri(data, adjmean = TRUE, plot = TRUE)

Value

peri

periodogram, I(\(\omega\)).

f

frequencies in radians, \(\omega\).

c

frequencies in cycles of time, \(2\pi/\omega\).

amp

amplitude periodogram.

phase

phase periodogram.

Arguments

data

a data frame.

adjmean

subtract the mean from the series before calculating the periodogram (default=TRUE).

plot

plot the estimated periodogram (default=TRUE).

Author

Adrian Barnett a.barnett@qut.edu.au

Examples

Run this code
# \donttest{
data(CVD)
p = peri(CVD$cvd)
# }

Run the code above in your browser using DataLab