Description Usage Arguments Value Examples
Plot the prophet forecast.
1 2 3 4 5 6 7 8 9 10 |
x |
Prophet object. |
fcst |
Data frame returned by predict(m, df). |
uncertainty |
Optional boolean indicating if the uncertainty interval for yhat should be plotted, which will only be done if x$uncertainty.samples > 0. Must be present in fcst as yhat_lower and yhat_upper. |
plot_cap |
Boolean indicating if the capacity should be shown in the figure, if available. |
xlabel |
Optional label for x-axis |
ylabel |
Optional label for y-axis |
... |
additional arguments |
A ggplot2 plot.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.