Period_ts {ADTSA} | R Documentation |
Calculation of Time Series Periodicity
Description
One of the uses of spectrum density and periodogram is to detect the periodicity of the series. If the spectral density or periodogram or any estimator has a peak at a frequency, the periodicity of the series can be understood. If we reverse the frequency at which the peak is located, the period of the series is obtained.
Usage
Period_ts(ts)
Arguments
ts |
a vector of time series data. |
Value
A number.
Author(s)
Hossein hassani, Masoud yarmohammadi, Mohammad reza yeganegi and Leila Marvian Mashhad.
Examples
data(co2)
Period_ts(co2)
[Package ADTSA version 1.0.1 Index]