Usage
fit_model(
data,
parameters,
mapping,
random = NULL,
newton_loops = 3,
silent = FALSE,
...
)
Arguments
- data
Data list
- parameters
Parameter list
- mapping
Mapping list
- random
Character of random effects to integrate out
- newton_loops
Number of newton loops to run to get gradients down
- silent
Boolean on whether or not model run is silent
- ...
additional arguments taken by MakeADFUN
Value
Returns a list object that is optimized, with results outputted from the RTMB model
Examples
if (FALSE) { # \dontrun{
model <- fit_model(data,
parameters,
mapping,
random = NULL,
newton_loops = 3)
} # }