
Last chance! 50% off unlimited learning
Sale ends in
Create visualizations of FSSA Forecast (fforecast) class. This function supports plotting `fforecast` data with one-dimensional or two-dimensional domains.
# S3 method for fforecast
plot(
x,
group_index = NULL,
ask = TRUE,
npts = 100,
obs = 1,
main = NULL,
col = NULL,
ori_col = NULL,
type = "l",
lty = 1,
...
)
an object of class fforecast
.
an integer specifying the group index for the plot.
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.
number of grid points for the plots.
observation number (for two-dimensional domains).
main title for the plot.
specify the predicted FTS color; if it is `NULL`, it will be set as the default.
specify the original FTS color; if it is `NULL`, it will be set as the default.
type of plot ("l" for line, "p" for points, etc.).
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)
Run the code above in your browser using DataLab