1234567891011121314151617181920212223242526272829 |
- % Generated by roxygen2: do not edit by hand
- % Please edit documentation in R/prophet.R
- \name{sample_model}
- \alias{sample_model}
- \title{Simulate observations from the extrapolated generative model.}
- \usage{
- sample_model(m, df, seasonal.features, iteration, s_a, s_m)
- }
- \arguments{
- \item{m}{Prophet object.}
- \item{df}{Prediction dataframe.}
- \item{seasonal.features}{Data frame of seasonal features}
- \item{iteration}{Int sampling iteration to use parameters from.}
- \item{s_a}{Indicator vector for additive components}
- \item{s_m}{Indicator vector for multiplicative components}
- }
- \value{
- List of trend and yhat, each a vector like df$t.
- }
- \description{
- Simulate observations from the extrapolated generative model.
- }
- \keyword{internal}
|