Learn R Programming

prophet (version 1.0)

set_changepoints: Set changepoints

Description

Sets m$changepoints to the dates of changepoints. Either: 1) The changepoints were passed in explicitly. A) They are empty. B) They are not empty, and need validation. 2) We are generating a grid of them. 3) The user prefers no changepoints be used.

Usage

set_changepoints(m)

Arguments

m

Prophet object.

Value

m with changepoints set.