a4aInternal.Rd
The advanced user interface to the a4a fitting routine.
a4aInternal(
stock,
indices,
fmodel = defaultFmod(stock),
qmodel = defaultQmod(indices),
srmodel = defaultSRmod(stock),
n1model = defaultN1mod(stock),
vmodel = defaultVmod(stock, indices),
covar = missing,
wkdir = missing,
verbose = FALSE,
fit = "assessment",
center = TRUE,
mcmc = missing
)
an FLStock object containing catch and stock information
an FLIndices object containing survey indices
a formula object depicting the model for log fishing mortality at age
a list of formula objects depicting the models for log survey catchability at age
a formula object depicting the model for log recruitment
a formula object depicting the model for the first year of catch data
a list of formula objects depicting the models for log survey and log fishing mortality variance
a list with covariates
used to set a working directory for the admb optimiser. If wkdir is set all admb files are saved to this folder otherwise they are deleted.
if true admb fitting information is printed to the screen
character with type of fit: 'MP' or 'assessment'; the former doesn't require the hessian to be computed, while the latter does.
logical
specifying whether data is centered before estimating or not
SCAMCMC
specifying parameters for the ADMB MCMC run, check ADMB manual for detailed description
an a4aFit
object if fit is "MP" or an a4aFitSA
if fit is "assessment"