TMBAIC calculates AIC for a given model fit
Author
James Thorson; copied from TMBhelper::TMBAIC()
(https://github.com/kaskr/TMB_contrib_R, GPL-3).
TMBAIC calculates AIC for a given model fit
James Thorson; copied from TMBhelper::TMBAIC()
(https://github.com/kaskr/TMB_contrib_R, GPL-3).