Description Usage Arguments Value Author(s) Examples
Take time series data and perform power specturm analysis. Through FFT, it lists up the most probable periods for seasonal term. Up to 10 most likely suggestions will be printed out to the console based on estimated PSD(Power Spectrum Density).
1 |
data |
Time series data or list of them to be plotted.
The data should be either |
plot |
If |
A list containing the following elements:
period | Data frame holding suggested periods and corresponding PSD. Ordered by PSD. |
plot | ggplot object of the plot. (Returned only if plot is TRUE.) |
Sanghyun Park, Daun Jeong, and Sehun Kim
1 2 3 | # 228 is the station code for SNU
data <- get.subway(228)
psd(data$total)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.