powered by
Compute autocovariance and autocorrelation function of the univariate time series.
unicor(y, lag = NULL, minmax = c(-1.0e+30, 1.0e+30), plot = TRUE, ...)
An object of class "unicor" which has a plot method. This is a list with the following components:
"unicor"
plot
autocovariances.
autocorrelations.
error bound for autocovariances.
error bound for autocorrelations.
mean of y.
y
the name of the univariate time series y.
a univariate time series.
maximum lag. Default is \(2 \sqrt{n}\), where \(n\) is the length of the time series y.
thresholds for outliers in low side and high side.
logical. If TRUE (default), autocorrelations are plotted.
TRUE
graphical arguments passed to the plot method.
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] unicor(Yawrate, lag = 50) # seismic data data(MYE1F) unicor(MYE1F, lag = 50)
Run the code above in your browser using DataLab