Prof.Lim’s lecture
Tozer 11 Multiple Dose
This is the R code for multiple dose mimicking the continuous infusion of a virtual drug with continuous and uniform release over time.
TIME=4*0:9
AMT8=50*(1-exp(-0.693/4*TIME))
plot(TIME,AMT8)
AMT8
AMT4=AMT8[1:8]+AMT8[2:9]
plot(AMT4)
AMT4
Refer to cum() function