Computes the exponents (L) and coefficient matrices (C1, C2) of the
two compartment linear system from its micro-constants. The idea comes
from the 'wnl' package by Kyun-Seop Bae; the implementation is different.
Arguments
- k10
elimination rate
- k12
rate from central to peripheral compartment
- k21
rate from peripheral to central compartment
Value
List with L vector and matrices C1 and C2
Author
Matthew L. Fidler, based on the idea in the 'wnl' package
Examples
solComp2(k10 = 0.1, k12 = 3, k21 = 1)
#> $L
#> [1] 4.07546291 0.02453709
#>
#> $C1
#> [,1] [,2]
#> [1,] 0.7592000 0.2408000
#> [2,] -0.7405714 0.7405714
#>
#> $C2
#> [,1] [,2]
#> [1,] -0.2468571 0.2468571
#> [2,] 0.2408000 0.7592000
#>