prophet_plot_components.Rd 856 B

12345678910111213141516171819202122232425262728
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/prophet.R
  3. \name{prophet_plot_components}
  4. \alias{prophet_plot_components}
  5. \title{Plot the components of a prophet forecast.
  6. Prints a ggplot2 with panels for trend, weekly and yearly seasonalities if
  7. present, and holidays if present.}
  8. \usage{
  9. prophet_plot_components(m, fcst, uncertainty = TRUE)
  10. }
  11. \arguments{
  12. \item{m}{Prophet object.}
  13. \item{fcst}{Data frame returned by predict(m, df).}
  14. \item{uncertainty}{Boolean indicating if the uncertainty interval should be
  15. plotted for the trend, from fcst columns trend_lower and trend_upper.}
  16. }
  17. \value{
  18. Invisibly return a list containing the plotted ggplot objects
  19. }
  20. \description{
  21. Plot the components of a prophet forecast.
  22. Prints a ggplot2 with panels for trend, weekly and yearly seasonalities if
  23. present, and holidays if present.
  24. }