powered by
This function calculates and optionally plots the smoothed periodogram using the Parzen window. The truncation point may be chosen by the user
sample.spec.wge(x, dbcalc = "TRUE", plot = "TRUE")
The frequencies at which the smoothed periodogram is calculated
The smoothed periodogram using the Parzen window
Vector containing the time series realization
If dbcalc=TRUE, the calculation is in the log (dB) scale. If FALSE, then non-log calculations are made
If PLOT=TRUE then the smoothed spectral estimate is plotted. If FALSE then no plot is created
Wayne Woodward
"Applied Time Series Analysis with R, 2nd edition" by Woodward, Gray, and Elliott
sample.spec.wge(rnorm(100))
Run the code above in your browser using DataLab