Function to get data-related components from the objective function for a (list of) TCSAM02 model(s) as a dataframe.
1 2 3
- a single tcsam02 rep object, a single tcsam02 resLst object, or a named list of such
- data-related objective function components to get ("all","surveys","fisheries","growthdata","maturitydata","effortdata")
- flag (T/F) to print diagnostic info
Returned dataframe has columns:
case - model case (blank, to be filled in by caller if obj is not a list of tcsam02.resLst objects)
category - fleet category
fleet - fleet name
catch.type - catch type
data.type - data type
fit.type - fit type
nll.type - likelihood type
y - year
x - sex
m - maturity state
s - shell condition
rmse - root mean squared error
wgt - likelihood weight
nll - (unweighted) negative log-likelihood
objfun - objective function value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.