Automatically determines nyears, nages, nsexes, nregions, and nfleets based on the dimensions of the input parameter matrix. This should be run on the parameter matrix with the largest number of dimensions but will return the correct dimensions for a smaller matrix.

get_model_dimensions(par_mat)

Arguments

par_mat

a parameter matrix generated via generate_param_matrix

Value

a named list indicating the dimensions of the model