Description Usage Arguments Details Value
View source: R/getObjFunValues.Fleets.R
Function to get fleet data components in the objective function as a melted dataframe.
1 2 | getObjFunValues.Fleets(repObjs, mdl = NULL, type = "fishery",
verbose = FALSE)
|
repObjs |
- tcsam2015 model report object or list of such |
mdl |
- name to associate with model results object |
type |
- "fishery" or "survey" |
verbose |
- flag (T/F) to print diagnostic info |
If repObjs is a list of tcsam2015 model report objects, then the function is called recursively for each object, with the associated list component name used as mdl. If repObjs is a tcsam2015 model report object and mdl is NULL (the default), then repObjs$mc$configName is used as the model name.
The returned dataframe has columns named "model", "source.type", "source.name", "catch.type", "data.type", "fit.type", "nll.type", "year", "sex", "maturity", "shell_condition", "variable", "value"
The "variable" column indicates whether the "value" is a weight ('wgt'), negative log-likelihood ('nll'), or objective function value ('objfun').
a melted dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.