
TMBAIC
calculates AIC for a given model fit
TMBAIC(opt, k = 2, n = Inf)
AIC, where a parsimonious model has a AIC relative to other candidate models
the output from nlminb
or optim
the penalty on additional fixed effects (default=2, for AIC)
the sample size, for use in AICc calculation (default=Inf, for which AICc=AIC)