plot.fforecast | R Documentation |
Create visualizations of FSSA Forecast (fforecast) class. This function supports plotting 'fforecast' data with one-dimensional or two-dimensional domains.
## S3 method for class 'fforecast'
plot(
x,
group_index = NULL,
ask = TRUE,
npts = 100,
obs = 1,
main = NULL,
col = NULL,
ori_col = NULL,
type = "l",
lty = 1,
...
)
x |
an object of class |
group_index |
an integer specifying the group index for the plot. |
ask |
logical: If 'TRUE', and 'group_index' be 'NULL', after printing the first grouping graphic, it will pause when the user asks for the next group graphic and wait. |
npts |
number of grid points for the plots. |
obs |
observation number (for two-dimensional domains). |
main |
main title for the plot. |
col |
specify the predicted FTS color; if it is 'NULL', it will be set as the default. |
ori_col |
specify the original FTS color; if it is 'NULL', it will be set as the default. |
type |
type of plot ("l" for line, "p" for points, etc.). |
lty |
line type (1 for solid, 2 for dashed, etc.). |
... |
additional graphical parameters passed to plotting functions. |
fforecast
# Example with one-dimensional domain
data("Callcenter")
# FSSA Decomposition step:
fssa_results <- fssa(Callcenter, L = 28)
# Perform FSSA R-forecasting
pr_V <- fforecast(U = fssa_results, groups = list(1,1:7),
len = 14, method = "vector", only.new = FALSE)
plot(pr_V)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.