plot_forecast_component.Rd 687 B

12345678910111213141516171819202122232425262728
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/plot.R
  3. \name{plot_forecast_component}
  4. \alias{plot_forecast_component}
  5. \title{Plot a particular component of the forecast.}
  6. \usage{
  7. plot_forecast_component(m, fcst, name, uncertainty = TRUE,
  8. plot_cap = FALSE)
  9. }
  10. \arguments{
  11. \item{m}{Prophet model}
  12. \item{fcst}{Dataframe output of `predict`.}
  13. \item{name}{String name of the component to plot (column of fcst).}
  14. \item{uncertainty}{Boolean to plot uncertainty intervals.}
  15. \item{plot_cap}{Boolean indicating if the capacity should be shown in the
  16. figure, if available.}
  17. }
  18. \value{
  19. A ggplot2 plot.
  20. }
  21. \description{
  22. Plot a particular component of the forecast.
  23. }