OM@cpars
is formatted correctlyInternal function for checking that the OM@cpars
is formatted correctly
cparscheck(cpars)
a list of model parameters to be sampled (single parameters are
a vector nsim
long, first dimension of matrices and arrays must be nsim
)
either an error and the length of the first dimension of the various
cpars list items or passes and returns the number of simulations in cpars