sample_model: Simulate observations from the extrapolated generative model.
Description
Simulate observations from the extrapolated generative model.
Usage
sample_model(m, df, seasonal.features, iteration)
Arguments
seasonal.features
Data frame of seasonal features
iteration
Int sampling iteration to use parameters from.
Value
List of trend, seasonality, and yhat, each a vector like df$t.