Description Usage Arguments Value Examples
Convert a dataframe into a time series object, decompose it into trend, seasonality/cyclicity and noise/remainder/error and plot the raw data and the decomposed components. If the time series can't be decomposed, the function will just return the line chart of the raw data.
1 |
data |
dataframe: should be data.frame or tibble |
col |
str: the column to be analyzed |
frequency |
int: should choose from 1, 4, 12, 52 |
ggplot Object
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.