two constants as input, with a time delay on one constant
Posted: Thu May 22, 2025 6:41 pm
I have two inputs IV infusion and endogenous glucose production for glucose homeostatis for a type 1 diabetic. How do I delay the input for IV infusion by a certain time period eg 4hours taking into account glucose production is continious? Current model uses = step(("endogenous (mmol/min)"+"IV infusion (mmol/min)"),2). to calculate glucose intake over a 72 hour period.