Description Usage Arguments Value Methods (by generic) Author(s) Examples
pergram
calculates the values of a periodogram, plot.pergram
plots it, and plot.cum.pergram
plots the corresponding cumulative
periodogram.
1 2 3 4 5 6 7 8 9 10 11 | pergram(y)
## S3 method for class 'pergram'
plot(x, add = FALSE, lty = 1, xlab = "Frequency",
ylab = "Periodogram", main = "Periodogram", ylim = c(0, max(po[,
2])), ...)
## S3 method for class 'pergram'
plot_cum(x, xlab = "Frequency", ylab = "Periodogram",
main = "Cumulative periodogram", ylim = c(0, max(cpo + 1.358/(a +
0.12 + 0.11/a))), ...)
|
y |
A time series vector. |
x |
Plotting parameters |
add |
If TRUE, adds a new periodogram to an existing plot. |
lty |
Plotting parameters |
xlab |
Plotting parameters |
ylab |
Plotting parameters |
main |
Plotting parameters |
ylim |
Plotting parameters |
... |
Plotting parameters |
pergram
prints and returns a two-column matrix of class,
pergram
, containing the periodogram.
plot
: Plot method
plot_cum
: Plot_cum method
J.K. Lindsey
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.