period {TSSS} | R Documentation |
Compute a periodogram of the univariate time series.
period(y, window = 1, minmax = c(-1.0e+30, 1.0e+30), plot = TRUE, ...)
y |
a univariate time series. |
window |
smoothing window type. (0: box-car, 1: Hanning, 2: Hamming) |
minmax |
bound for outliers in low side and high side. |
plot |
logical. If |
... |
further arguments to be passed to |
Hanning Window : | W_0 = 0.5 | W_1 = 0.25 |
Hamming Window : | W_0 = 0.54 | W_1 = 0.23 |
An object of class "spg"
, which is a list with the following
elements:
period |
periodogram (raw spectrum). |
smoothed.period |
smoothed periodogram. If there is not a negative number, logarithm of smoothed periodogram. |
log.scale |
if |
tsname |
the name of the univariate time series |
Kitagawa, G. (2010) Introduction to Time Series Modeling. Chapman & Hall/CRC.
# BLSALLFOOD data data(BLSALLFOOD) period(BLSALLFOOD) # seismic Data data(MYE1F) period(MYE1F)