sample_predictive_trend {prophet} | R Documentation |
Simulate the trend using the extrapolated generative model.
sample_predictive_trend(model, df, iteration)
model |
Prophet object. |
df |
Prediction dataframe. |
iteration |
Int sampling iteration to use parameters from. |
Vector of simulated trend over df$t.