plot_forecast | R Documentation |
tulip
modelThis function requires the ggplot2. Whether its
namespace is available will be checked when the function is run. ggplot2
is
only suggested, not a default import.
plot_forecast(object, date = NULL, date_future = NULL, show_params = TRUE)
object |
An object of class |
date |
Optional additional vector with dates in format that can be cast
to |
date_future |
Optional additional vector with dates in format that can
be cast to |
show_params |
Logical; if |
set.seed(4278)
y <- rt(100, df = 10) * 10 + 1:100
fitted <- tulip(y = y, m = 12, family = "norm")
paths <- predict(object = fitted, h = 12)
tulip:::plot_forecast(object = paths)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.