View source: R/identification.R
tsspec | R Documentation |
tsspec
generates a ggplot showing the frequency spectrum of a time series, and a table with the value of each frequency.
tsspec(y)
y |
a vector or an array with the values of the time series. |
A list containing the following components:
table |
A data frame with the values of the spectrum for each frequency represented. |
plot |
A |
periodogram
# Easy example with AirPassengers time series tsspec(as.vector(AirPassengers))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.