getObjFunValues.CatchData: Get catch data components in the objective function as a...

Description Usage Arguments Details Value

View source: R/getObjFunValues.CatchData.R

Description

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

Usage

1
2
getObjFunValues.CatchData(catchData, catch.type = "total.catch",
  verbose = FALSE)

Arguments

catchData

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

catch.type

- type of catch data ('total.catch','retained.catch','discard.catch')

verbose

- flag (T/F) to print diagnostic info

Details

The returned dataframe has columns named "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').

Value

a melted dataframe


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