Learn R Programming

prophet (version 1.0)

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.