piecewise_logistic: Evaluate the piecewise logistic function.
Description
Evaluate the piecewise logistic function.
Usage
piecewise_logistic(t, cap, deltas, k, m, changepoint.ts)
Arguments
- t
Vector of times on which the function is evaluated.
- cap
Vector of capacities at each t.
- deltas
Vector of rate changes at each changepoint.
- k
Float initial rate.
- m
Float initial offset.
- changepoint.ts
Vector of changepoint times.