Create an age process matrix.
bbs_matrix_age(age = c(2, 3, 3))
Arguments
- age
A vector indicating the stage to age into. If ageing does not occur, the stage should reference itself.
Value
A matrix of the age subprocess.
Examples
bbs_matrix_age(c(2, 3, 3)) %*% c(80, 50, 150)
#> [,1]
#> [1,] 0
#> [2,] 80
#> [3,] 200