powered by
Compute a periodogram of the univariate time series via FFT.
fftper(y, window = 1, plot = TRUE, ...)
An object of class "spg", which is a list with the following components:
"spg"
periodogram.
smoothed periodogram. If there is not a negative number, logarithm of smoothed periodogram.
logical. If TRUE smoothed.period is logarithm of smoothed periodogram.
TRUE
smoothed.period
the name of the univariate time series y.
y
a univariate time series.
smoothing window type. (0: box-car, 1: Hanning, 2: Hamming)
logical. If TRUE (default), smoothed (log-)periodogram is plotted.
graphical arguments passed to plot.spg.
plot.spg
Kitagawa, G. (2020) Introduction to Time Series Modeling with Applications in R. Chapman & Hall/CRC.
# Yaw rate, rolling, pitching and rudder angle of a ship data(HAKUSAN) YawRate <- HAKUSAN[, 1] fftper(YawRate, window = 0)
Run the code above in your browser using DataLab