powered by
It calculates lambdas and coefficients for three-compartment model from K10, K12, K21, K13, and K31.
SolComp3(K10, K12, K21, K13, K31)
This returns a list of lambdas and coefficients.
Ke, Elimination rate constant from central compartment
Rate constant from the central to the first peripheral compartment
Rate constant from the first peripheral to the central compartment
Rate constant from the central to the second peripheral compartment
Rate constant from the second peripheral to the central compartment
Kyun-Seop Bae <k@acr.kr>
It calculates lambdas and coefficients of two-compartment model from K10, K12, and K21. Lambdas should have no identical values.
DAT DAT2 = ExpandDH(DAT) Sol = SolComp3(K10=0.1, K12=3, K21=1, K13=2, K31=0.5) X3 = nComp(Sol, Ka=1, DAT2) X3 matplot(DAT2[, "TIME"], X3, type="l")
Run the code above in your browser using DataLab