periodogram | R Documentation |
Plot a periodogram
periodogram(x, q = 0, opt = 2)
x |
Time series data |
q |
MA filter order |
opt |
Plot option (0 silent, 1 periodogram only, 2 periodogram and filter) |
The filter q
can be a vector in which case the overall filter is the
composition of MA filters of the designated orders.
The periodogram vector divided by 2pi is returned invisibly.
plots
periodogram(Sunspots,c(1,1,1,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.