plot_forecast_component.Rd 688 B

123456789101112131415161718192021222324252627
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/prophet.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, plot_cap = FALSE)
  8. }
  9. \arguments{
  10. \item{m}{Prophet model}
  11. \item{fcst}{Dataframe output of `predict`.}
  12. \item{name}{String name of the component to plot (column of fcst).}
  13. \item{uncertainty}{Boolean to plot uncertainty intervals.}
  14. \item{plot_cap}{Boolean indicating if the capacity should be shown in the
  15. figure, if available.}
  16. }
  17. \value{
  18. A ggplot2 plot.
  19. }
  20. \description{
  21. Plot a particular component of the forecast.
  22. }