Learn R Programming

prophet (version 1.0)

sample_posterior_predictive: Prophet posterior predictive samples.

Description

Prophet posterior predictive samples.

Usage

sample_posterior_predictive(m, df)

Arguments

m

Prophet object.

df

Prediction dataframe.

Value

List with posterior predictive samples for the forecast yhat and for the trend component.