checkMARSSInputs: Check inputs to MARSS call

Description Usage Arguments Details Value Author(s) See Also

Description

This is a helper function to check the inputs to a MARSS() call for any errors. Not exported.

Usage

1
checkMARSSInputs( MARSS.inputs, silent=FALSE )

Arguments

MARSS.inputs

A list comprised of the needed inputs to a MARSS call: data, inits, MCbounds, model, control, method, form)

silent

Suppresses printing of progress bars, error messages, warnings and convergence information.

Details

This is a helper function to check that all the inputs to a MARSS call are properly specified.

If arguments inits, MCbounds, or control are not provided by the user, they will be set by the alldefaults[[method]] object specified in MARSSsettings. Argument model specifies the model structure using a list of matrices; see MARSS or the User Guide for instructions on how to specify model structure. If model is left off, then the function MARSS.form() is used to determine the default model structure.

Value

If the function does not stop due to errors, it returns an updated list with elements

data

Data supplied by user.

model

Not changed. Will be updated by the MARSS.form function (e.g. MARSS.marxss).

inits

A list specifying initial values for parameters to be used at iteration 1 in iterative maximum-likelihood algorithms.

MCbounds

A list of the bounds for the Monte Carlo initialization routine.

method

The method used for estimation.

form

The equation form used to convert wrapper object to a marssMODEL object.

control

See Arguments.

Author(s)

Kellie Wills, NOAA, Seattle, USA.

kellie(dot)wills(at)noaa(dot)gov

See Also

MARSS marssMODEL checkModelList


gragusa/MARSS documentation built on May 17, 2019, 8:18 a.m.