RunLBSPRAssessFun: A wrapper function to execute the ADMB optimization routine

Description Usage Arguments Value Author(s)

Description

This function runs the ADMB assessment code and returns of list of parameter estimates, model fits, and some other information.

Usage

1
2
RunLBSPRAssess(AssessPars, LenFreq, LenMids, ADMBDir, ExName = "lbspr",
  showOutput = FALSE, MaxCount = 5, ADMBRead = NULL)

Arguments

AssessPars

An object of class list that contains the parameters required for the LB-SPR assessment. Use LoadAssessPars function to create this object.

LenFreq

A numeric vector that contains the counts of the length observed data corresponding to the LenMids length bins Must be the same length as LenMids.

LenMids

A numeric vector that contains the mid-points of the length classes corresponding to the LenFreq data. Must be the same length as LenFreq.

ADMBDir

An object of class character that specifies the location of the ADMB executable file.

ExName

An object of class character that specifies the name of the ADMB executalbe file. Default is lbspr and should not include extension.

showOutput

An object of class logical that determines if the output of the ADMB will be displayed in the R Console. Apparently only works on Windows OS.

MaxCount

An object of class numeric that specifies the maximum number of times the ADMB code is executed with different starting parameters before the determining that the model failed to converge. Default is 5.

ADMBRead

ADD DETAILS HERE

Value

A list that contains:

Author(s)

Adrian Hordyk


DanOvando/Old-LBSPR documentation built on May 6, 2019, 1:22 p.m.