Learn R Programming

prophet (version 0.1)

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
Dataframe that was fit by Prophet.
iteration
Int sampling iteration ot use parameters from.

Value

Vector of simulated trend over df$t.