piecewise_linear: Evaluate the piecewise linear function.
Description
Evaluate the piecewise linear function.
Usage
piecewise_linear(t, deltas, k, m, changepoint.ts)
Arguments
t
Vector of times on which the function is evaluated.
deltas
Vector of rate changes at each changepoint.
changepoint.ts
Vector of changepoint times.