transitTime | R Documentation |
Computes the density distribution and mean for the transit time of a constant compartmental model
transitTime(A, u, a = seq(0, 100), q = c(0.05, 0.5, 0.95))
A |
A constant compartmental square matrix with cycling rates in the diagonal and transfer rates in the off-diagonal. |
u |
A one-column matrix defining the amount of inputs per compartment. |
a |
A sequence of ages to calculate density functions |
q |
Vector of probabilities to calculate quantiles of the transit time distribution |
A list with 3 objects: mean transit time, transit time density distribution, and quantiles.
systemAge
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.