peri function

Periodogram

Periodogram

Estimated periodogram using the fast Fourier transform (fft).

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

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).

Returns

  • peri: periodogram, I(ω\omega). - f: frequencies in radians, ω\omega. - c: frequencies in cycles of time, 2π/ω2\pi/\omega. - amp: amplitude periodogram. - phase: phase periodogram.

Examples

data(CVD) p = peri(CVD$cvd)

Author(s)

Adrian Barnett a.barnett@qut.edu.au

  • Maintainer: Adrian Barnett
  • License: GPL (>= 3)
  • Last published: 2022-03-21

Useful links