plot_periodogram: Plot the Periodogram

Description Usage Arguments Value Examples

View source: R/plot_periodogram.R

Description

This function plots the periodogram of a signal (e.g. a time series or a series of observations) at the Fourier frequencys between 0 and pi.

Usage

1

Arguments

pd

A numeric vector that contains the values of the periodogram of a signal at the Fourier frequencies.

Value

A graph of the periodogram at the Fourier frequencys.

Examples

1
2
3
4
n<- 1:1000
x <- rnorm(1:1000) + 2*sin(2*pi*n)
peri_x <- periodogram(x)
plot_periodogram(peri_x)

adrian1econ/TimeSeries documentation built on Aug. 25, 2020, 5:18 p.m.