mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-27 22:46:02 +00:00
* added `flat_growth_init()` function * added validation for 'flat' * changed `fit.prophet()` to handle `growth='flat'` * added `trend='flat'` capabilities to `sample_predictive_trend()` and `fit.prophet()` * updated STAN code to handle flat trend * [Syntax fix] Removed unnecessary bracket * updated documentation * undid formatting that was accidentally applied by autoformatter * undid more formatting that was accidentally applied by autoformatter * added tests * typo in `sample_predictive_trend()` * updated notebook with example in R * updated documentation
20 lines
395 B
R
20 lines
395 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/prophet.R
|
|
\name{flat_trend}
|
|
\alias{flat_trend}
|
|
\title{Evaluate the flat trend function.}
|
|
\usage{
|
|
flat_trend(t, m)
|
|
}
|
|
\arguments{
|
|
\item{t}{Vector of times on which the function is evaluated.}
|
|
|
|
\item{m}{Float initial offset.}
|
|
}
|
|
\value{
|
|
Vector y(t).
|
|
}
|
|
\description{
|
|
Evaluate the flat trend function.
|
|
}
|
|
\keyword{internal}
|