tsp.figures | R Documentation |
Plot figures for a time series
tsp.figures(x = x, type = c("multiplicative", "additive"), table = T)
x |
time series, ts class object |
type |
type of decompose model. |
table |
logical. If TRUE (default), table is printed |
if time series frequency is > 1, decompose model can be used to obtain figures values for each season. This funtion use ggplot2 to draw this figures. If multiplicative model is used (default), "figures - 1" values is drawed for better interpretation. for additive model figures is drawed.
Victor Espinoza
decompose
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.