sample_predictive_trend.Rd 561 B

1234567891011121314151617181920212223
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/prophet.R
  3. \name{sample_predictive_trend}
  4. \alias{sample_predictive_trend}
  5. \title{Simulate the trend using the extrapolated generative model.}
  6. \usage{
  7. sample_predictive_trend(model, df, iteration)
  8. }
  9. \arguments{
  10. \item{model}{Prophet object.}
  11. \item{df}{Prediction dataframe.}
  12. \item{iteration}{Int sampling iteration to use parameters from.}
  13. }
  14. \value{
  15. Vector of simulated trend over df$t.
  16. }
  17. \description{
  18. Simulate the trend using the extrapolated generative model.
  19. }
  20. \keyword{internal}