powered by
It calculates lambdas and coefficients for two-compartment model from K10, K12, and K21.
SolComp2(K10, K12, K21)
This returns a list of lambdas and coefficients.
Ke, Elimination rate constant from central compartment
Rate constant from the central to the peripheral compartment
Rate constant from the 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 = SolComp2(K10=0.1, K12=3, K21=1) X2 = nComp(Sol, Ka=1, DAT2) X2 matplot(DAT2[, "TIME"], X2, type="l")
Run the code above in your browser using DataLab