Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sample_predictive_trend

Simulate the trend using the extrapolated generative model.


Description

Simulate the trend using the extrapolated generative model.

Usage

sample_predictive_trend(model, df, iteration)

Arguments

model

Prophet object.

df

Prediction dataframe.

iteration

Int sampling iteration to use parameters from.

Value

Vector of simulated trend over df$t.


prophet

Automatic Forecasting Procedure

v1.0
MIT + file LICENSE
Authors
Sean Taylor [cre, aut], Ben Letham [aut]
Initial release
2021-03-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.