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 list with 5 objects: mean system age, system age distribution, quantiles of system age distribution, mean pool-age, and pool-age distribution.
A constant compartmental square matrix with cycling rates in the diagonal and transfer rates in the off-diagonal.
A one-column matrix defining the amount of inputs per compartment.
A sequence of ages to calculate density functions
A vector of probabilities to calculate quantiles of the system age distribution
transitTime