This function reads in all of the information contained in the .hes file. Some is needed for relaxing the covariance matrix, while the rest is recorded and rewritten to file as ADMB expects.
Usage
getADMBHessian(
hesfile = "admodel.hes",
File = lifecycle::deprecated(),
FileName = lifecycle::deprecated()
)
Note
Explanation of the methods (in PDF form): https://github.com/admb-project/admb-examples/blob/master/admb-tricks/covariance-calculations/ADMB_Covariance_Calculations.pdf