sonecpmt {PKtools} | R Documentation |
A function for a one compartment model with first order absorption with a sqrt transformation.
sonecpmt(dose,time,lVol,lKa, lCl)
dose |
numeric representation of the dose |
time |
a vector of the time measurements |
lVol |
the numeric parameter log of volume of distribution |
lKa |
the numeric parameter log of absorption |
lCl |
the numeric parameter log of clearance |
The value of the expression sqrt(dose * exp(lKa) * (exp(-(exp(lCl)/exp(lVol)) * time) - exp(-exp(lKa) * time))/(exp(lVol) * (exp(lKa) - (exp(lCl)/exp(lVol)))))
M.S. Blanchard<sblanchard.coh.org
library(nlme) data(Theoph) Theoph=Theoph[Theoph$Subject==2 & Theoph$Time>0,] dose=Theoph$Dose time=Theoph$Time exp.sconc=sonecpmt(dose,time,lVol=-.8, lKa=.3, lCl=-3.2) exp.sconc