Learn R Programming

DLMtool (version 5.2)

cparscheck: Internal function of runMSE for checking that the OM slot cpars slot is formatted correctly

Description

Internal function of runMSE for checking that the OM slot cpars slot is formatted correctly

Usage

cparscheck(cpars)

Arguments

cpars

a list of model parameters to be sampled (single parameters are a vector nsim long, time series are matrices nsim x nyears)

Value

either an error and the length of the first dimension of the various cpars list items or passes and returns the number of simulations