naomi_objective_function_r: R implementation of Naomi model

View source: R/tmb-model-r-implementation.R

naomi_objective_function_rR Documentation

R implementation of Naomi model

Description

R implementation of Naomi model

Usage

naomi_objective_function_r(d, p)

Arguments

d

list of data inputs (from prepare_tmb_inputs())

p

list of parameter values (from prepare_tmb_inputs())

Details

This is primarily written to enable stepping through the TMB model line by line.

Value

A list consisting of (1) reported objects from the TMB model, and (2) the value of the objective function.


mrc-ide/naomi documentation built on April 10, 2024, 2:13 p.m.