sample_model.Rd 628 B

12345678910111213141516171819202122232425
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/prophet.R
  3. \name{sample_model}
  4. \alias{sample_model}
  5. \title{Simulate observations from the extrapolated generative model.}
  6. \usage{
  7. sample_model(m, df, seasonal.features, iteration)
  8. }
  9. \arguments{
  10. \item{m}{Prophet object.}
  11. \item{df}{Prediction dataframe.}
  12. \item{seasonal.features}{Data frame of seasonal features}
  13. \item{iteration}{Int sampling iteration to use parameters from.}
  14. }
  15. \value{
  16. List of trend, seasonality, and yhat, each a vector like df$t.
  17. }
  18. \description{
  19. Simulate observations from the extrapolated generative model.
  20. }
  21. \keyword{internal}