A piecewise function that models a quadratic increase from zero to a plateau value.
The function is continuous and differentiable, modeling growth
processes with a smooth transition to a maximum response.
Usage
fn_quad_pl_sm(t, t1, t2, k)
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 time at which the plateau begins. Must be greater than t1.
k
The plateau height. The function transitions to this constant value at t2.
The coefficients of the quadratic section are chosen such that the curve passes through
(t1, 0) and (t2, k) with a continuous first derivative (i.e., smooth transition).