fit_tmb | R Documentation |
Runs optimization on the TMB model using stats::nlminb
.
If specified, takes additional Newton steps and calculates standard deviations.
Internal function called by fit_wham
.
fit_tmb(
model,
n.newton = 3,
do.sdrep = TRUE,
do.check = FALSE,
save.sdrep = FALSE
)
model |
Output from |
n.newton |
Integer, number of additional Newton steps after optimization. Default = |
do.sdrep |
T/F, calculate standard deviations of model parameters? See |
do.check |
T/F, check if model parameters are identifiable? Runs internal |
save.sdrep |
T/F, save the full |
model
, appends the following:
model$opt
Output from stats::nlminb
model$date
System date
model$dir
Current working directory
model$rep
model$report()
model$TMB_version
Version of TMB installed
model$parList
List of parameters, model$env$parList()
model$final_gradient
Final gradient, model$gr()
model$sdrep
Estimated standard deviations for model parameters, TMB::sdreport
or summary.sdreport)
fit_wham
, retro
, TMBhelper::check_estimability
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.