Description Usage Arguments Value
Plot a particular component of the forecast.
1 | plot_forecast_component(m, fcst, name, uncertainty = TRUE, plot_cap = FALSE)
|
m |
Prophet model |
fcst |
Dataframe output of 'predict'. |
name |
String name of the component to plot (column of fcst). |
uncertainty |
Optional boolean to plot uncertainty intervals, which will only be done if m$uncertainty.samples > 0. |
plot_cap |
Boolean indicating if the capacity should be shown in the figure, if available. |
A ggplot2 plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.