systemAge {SoilR} | R Documentation |
Computes the density distribution and mean for the system and pool ages of a constant compartmental model in matrix representation
systemAge(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 |
A vector of probabilities to calculate quantiles of the system age distribution |
A list with 5 objects: mean system age, system age distribution, quantiles of system age distribution, mean pool-age, and pool-age distribution.