Description

extend_years(dem_params, dimension, e, new.dimnames = NA)

Arguments

dem_params

a list of demographic parameter matrices

dimension

the dimension along which to extend (should always be 1)

e

the new number of years along the first dimension

new.dimnames

new set of names for the first dimension

Value

a new list of demographic parameter matrices spanning `e` years with the values from the last year in the original matrix continued for all future years