logistic_growth_init: Initialize logistic growth.

Description Usage Arguments Value

Description

Provides a strong initialization for logistic growth by calculating the growth and offset parameters that pass the function through the first and last points in the time series.

Usage

1

Arguments

df

Data frame with columns ds (date), cap_scaled (scaled capacity), y_scaled (scaled time series), and t (scaled time).

Value

A vector (k, m) with the rate (k) and offset (m) of the logistic growth function.


prophet documentation built on March 30, 2021, 5:05 p.m.