lonecpmt {PKtools} | R Documentation |
A function for a one compartment model with first order absorption with a natural log transformation.
lonecpmt(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 log(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.lconc=lonecpmt(dose,time,lVol=-.6, lKa=.3, lCl=-3) exp.lconc