periodogram: Plot a periodogram

View source: R/itsmr.R

periodogramR Documentation

Plot a periodogram

Description

Plot a periodogram

Usage

periodogram(x, q = 0, opt = 2)

Arguments

x

Time series data

q

MA filter order

opt

Plot option (0 silent, 1 periodogram only, 2 periodogram and filter)

Details

The filter q can be a vector in which case the overall filter is the composition of MA filters of the designated orders.

Value

The periodogram vector divided by 2pi is returned invisibly.

See Also

plots

Examples

periodogram(Sunspots,c(1,1,1,1))

itsmr documentation built on Aug. 6, 2022, 9:08 a.m.