autoplot.tulip_paths | R Documentation |
tulip_paths
objectsUse ggplot2
to visualize the marginal forecast quantiles, or a few sample
paths of a tulip forecast object of class tulip_paths
autoplot.tulip_paths(
object,
...,
method = c("forecast", "paths")[1],
date = NULL,
date_future = NULL,
show_params = TRUE,
n = 5,
alpha = 0.75
)
object |
An object of class |
... |
ignored |
method |
One of |
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 |
n |
Number of paths to add to plot, a small number is recommended to be
able to see the individual paths; scalar integer between 1 and 10; used
when |
alpha |
The transparency parameter used when adding the paths to the
plot, provided to |
Note: This function will use base::sample()
to randomly select paths that
are added to the plot. Set a seed if you require reproducibility.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.