fit_tmb | R Documentation |
fit_tmb
runs a TMB model and generates standard diagnostics
fit_tmb(
obj,
fn = obj$fn,
gr = obj$gr,
startpar = NULL,
lower = -Inf,
upper = Inf,
getsd = TRUE,
control = list(eval.max = 10000, iter.max = 10000, trace = 1),
bias.correct = FALSE,
bias.correct.control = list(sd = FALSE, split = NULL, nsplit = NULL, vars_to_correct =
NULL),
savedir = NULL,
loopnum = 2,
newtonsteps = 0,
n = Inf,
getReportCovariance = FALSE,
getJointPrecision = FALSE,
getHessian = FALSE,
quiet = FALSE,
start_time_elapsed = as.difftime("0:0:0"),
...
)
obj |
The compiled TMB object |
startpar |
Starting values for fixed effects (default NULL uses |
lower , upper |
vectors of lower and upper bounds, replicated to be as long as
|
getsd |
Boolean indicating whether to run standard error calculation; see |
control |
A list of control parameters. For details see |
bias.correct |
Boolean indicating whether to do epsilon bias-correction;
see |
bias.correct.control |
tagged list of options for epsilon bias-correction,
where |
savedir |
directory to save results (if |
loopnum |
number of times to re-start optimization (where |
newtonsteps |
Integer specifying the number of extra newton steps to take
after optimization (alternative to |
n |
sample sizes (if |
getReportCovariance |
Get full covariance matrix of ADREPORTed variables? |
getJointPrecision |
Optional. Return full joint precision matrix of random effects and parameters? |
getHessian |
return Hessian for usage in later code |
quiet |
Boolean whether to print additional messages results to terminal |
start_time_elapsed |
how much time has elapsed prior to calling fit_tmb,
for use, e.g., when calling |
... |
list of settings to pass to |
the standard output from nlminb
, except with additional diagnostics and timing info,
and a new slot containing the output from sdreport
For more details see https://doi.org/10.1016/j.fishres.2015.11.016
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.