1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prophet.R
\name{piecewise_logistic}
\alias{piecewise_logistic}
\title{Evaluate the piecewise logistic function.}
\usage{
piecewise_logistic(t, cap, deltas, k, m, changepoint.ts)
}
\arguments{
\item{t}{Vector of times on which the function is evaluated.}
\item{cap}{Vector of capacities at each t.}
\item{deltas}{Vector of rate changes at each changepoint.}
\item{k}{Float initial rate.}
\item{m}{Float initial offset.}
\item{changepoint.ts}{Vector of changepoint times.}
}
\value{
Vector y(t).
}
\description{
Evaluate the piecewise logistic function.
}
\keyword{internal}
|