pgram: Compute the periodogram.

View source: R/tscourse.R

pgramR Documentation

Compute the periodogram.

Description

Compute the periodogram.

Usage

pgram(X, plot = FALSE)

Arguments

X

a vector of data

plot

if TRUE a plot of the periodogram is generated

Value

a list containing the periodogram ordinates, the Fourier frequencies, and the cumulative periodogram

This function computes the periodogram at the Fourier frequencies.


gregorkb/tscourse documentation built on Oct. 3, 2022, 5:31 p.m.