Learn R Programming

wnl (version 0.8.3)

SolComp3: Get Lambdas and Coefficients of Three-compartment Model

Description

It calculates lambdas and coefficients for three-compartment model from K10, K12, K21, K13, and K31.

Usage

SolComp3(K10, K12, K21, K13, K31)

Value

This returns a list of lambdas and coefficients.

Arguments

K10

Ke, Elimination rate constant from central compartment

K12

Rate constant from the central to the first peripheral compartment

K21

Rate constant from the first peripheral to the central compartment

K13

Rate constant from the central to the second peripheral compartment

K31

Rate constant from the second peripheral to the central compartment

Author

Kyun-Seop Bae <k@acr.kr>

Details

It calculates lambdas and coefficients of two-compartment model from K10, K12, and K21. Lambdas should have no identical values.

Examples

Run this code
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