A piecewise function that models a response with an initial exponential
growth phase followed by a linear phase. Commonly used to describe processes
with rapid early increases that slow into a linear trend, while maintaining
continuity.
Usage
fn_exp_lin(t, t1, t2, alpha, beta)
Value
A numeric vector of the same length as t, representing the function values.
Arguments
t
A numeric vector of input values (e.g., time).
t1
The onset time of the response. The function is 0 for all values less than t1.
t2
The transition time between exponential and linear phases. Must be greater than t1.
alpha
The exponential growth rate during the exponential phase.
The exponential segment starts from 0 at t1, and the linear segment
continues smoothly from the end of the exponential part. This ensures value
continuity at t2, but not necessarily smoothness in slope.