Create a survival process matrix.

bbs_matrix_survival(survival)

Arguments

survival

A vector of the survival rates in each stage.

Value

A matrix of the survival subprocess.

Examples

bbs_matrix_survival(c(0.5, 0.83, 0.84)) %*% rep(100, 3)
#>      [,1]
#> [1,]   50
#> [2,]   83
#> [3,]   84