expandHerm
expands the Herm list in SexPars to a matrix of fractions at age
checkHerm
checks that each array in the list has dimension nsim x maxage+1 x nyears + proyears. For backwards compatibility, also converts matrices to arrays by adding the year dimension.
subsetHerm
returns year-specific Herm values.
Usage
expandHerm(Herm, maxage, np, nsim)
checkHerm(Herm, maxage, nsim, nyears, proyears)
subsetHerm(Herm, y)