I would like to model a continuous variable y depending on two successive time variations: vartime1 (from t0 to t1) then vartime2 (from t1 to t2), the total duration being v