Access an arbitrary row across all demographic parameter matrices of indeterminate dimension

subset_dem_params(dem_params, r, d = 1, drop = TRUE)

Arguments

dem_params

a list of arrays with more than 2 dimensions

r

the index along the first dimension to access

Value

a list with the same elements as dem_params but containing a single row from each list element