getObjFunValues.AggregateCatch: Get aggregate catch components in the objective function as a...

Description Usage Arguments Details Value

View source: R/getObjFunValues.AggregateCatch.R

Description

Function to get aggregate catch components in the objective function as a melted dataframe.

Usage

1
2
getObjFunValues.AggregateCatch(aggC, data.type = "abundance",
  verbose = FALSE)

Arguments

aggC

- a list object reflecting an aggregate catch data source's contributions to the objective function

data.type

- data type (abundance or biomass) of aggregated catch

verbose

- flag (T/F) to print diagnostic info

Details

The returned dataframe has columns named "data.type", "fit.type", "nll.type", "year" (a dummy value = -1), "sex", "maturity", "shell_condition", "variable", and "value".

The "variable" column indicates whether the "value" is a weight ('wgt'), negative log-likelihood ('nll'), or objective function value ('objfun').

Value

a melted dataframe


wStockhausen/rTCSAM2015 documentation built on May 3, 2019, 7:14 p.m.