Learn R Programming

wnl (version 0.8.3)

SolComp2: Get Lambdas and Coefficients of Two-compartment Model

Description

It calculates lambdas and coefficients for two-compartment model from K10, K12, and K21.

Usage

SolComp2(K10, K12, K21)

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 peripheral compartment

K21

Rate constant from the 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 = 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