This function processes the TMB std and reshapes them into a structured tibble for easier analysis and manipulation.
Arguments
- obj
An object returned from
TMB::MakeADFun().- sdreport
An object of the
sdreportclass as returned fromTMB::sdreport().- opt
An object returned from an optimizer, typically from
stats::nlminb(), used to fit a TMB model.- parameter_names
A character vector of parameter names. This is used to identify the parameters in the
stdobject.