linear_growth_init.Rd (prophet-0.7) | : | linear_growth_init.Rd (prophet-1.0) | ||
---|---|---|---|---|
% Generated by roxygen2: do not edit by hand | % Generated by roxygen2: do not edit by hand | |||
% Please edit documentation in R/prophet.R | % Please edit documentation in R/prophet.R | |||
\name{linear_growth_init} | \name{linear_growth_init} | |||
\alias{linear_growth_init} | \alias{linear_growth_init} | |||
\title{Initialize linear growth.} | \title{Initialize constant growth.} | |||
\usage{ | \usage{ | |||
linear_growth_init(df) | linear_growth_init(df) | |||
} | } | |||
\arguments{ | \arguments{ | |||
\item{df}{Data frame with columns ds (date), y_scaled (scaled time series), | \item{df}{Data frame with columns ds (date), y_scaled (scaled time series), | |||
and t (scaled time).} | and t (scaled time).} | |||
} | } | |||
\value{ | \value{ | |||
A vector (k, m) with the rate (k) and offset (m) of the linear | A vector (k, m) with the rate (k) and offset (m) of the linear | |||
growth function. | growth function. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |