fitTMB: Optimize a TMB model and package results

View source: R/glmmTMB.R

fitTMBR Documentation

Optimize a TMB model and package results

Description

This function (called internally by glmmTMB) runs the actual model optimization, after all of the appropriate structures have been set up. It can be useful to run glmmTMB with doFit=TRUE, adjust the components as required, and then finish the fitting process with fitTMB (however, it is the user's responsibility to make sure that any modifications create an internally consistent final fitted object).

Usage

fitTMB(TMBStruc)

Arguments

TMBStruc

a list contain

Examples

m0 <- glmmTMB(count ~ mined + (1|site),
             family=poisson, data=Salamanders, doFit=FALSE)
names(m0)
fitTMB(m0)

glmmTMB documentation built on July 12, 2022, 5:06 p.m.