cparscheck: Internal function for checking that the 'OM@cpars' is...

View source: R/SampleOM.R

cparscheckR Documentation

Internal function for checking that the OM@cpars is formatted correctly

Description

Internal function for checking that the OM@cpars is formatted correctly

Usage

cparscheck(cpars)

Arguments

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)

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 in cpars

Author(s)

T. Carruthers


Blue-Matter/MSEtool documentation built on Nov. 22, 2024, 8:23 p.m.