make_tmb_obj: Make TMB objective function object

View source: R/tmb-model.R

make_tmb_objR Documentation

Make TMB objective function object

Description

Make TMB objective function object

Usage

make_tmb_obj(
  data,
  par,
  model = "ccmpp_tmb",
  inner_verbose = FALSE,
  calc_outputs = TRUE
)

Arguments

data

List of TMB data inputs.

par

List of initial parameters for TMB model.

model

Name of TMB model to be used.

inner_verbose

Logical flag whether to print TMB inner optimization tracing information.

calc_outputs

Logical flag to be passed to model object whether to calculate outputs not required for objective function.

Value

TMB objective function object with class 'tmb_obj'.

See Also

This returns the object created by [TMB::MakeADFun].


mrc-ide/ccmpp.tmb documentation built on May 2, 2022, 12:15 a.m.