R: Simulate the trend using the extrapolated generative model.

sample_predictive_trend {prophet} | R Documentation

## 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.

[Package prophet version 0.6.1 Index]