getObjFunValues.NatZ: Get size comps components in the objective function as a...

Description Usage Arguments Details Value

View source: R/getObjFunValues.NatZ.R

Description

Function to get size comps components in the objective function as a melted dataframe.

Usage

1
getObjFunValues.NatZ(nAtZ, verbose = FALSE)

Arguments

nAtZ

- a list object reflecting a size comps' contributions to the objective function

verbose

- flag (T/F) to print diagnostic info

Details

The returned dataframe has columns named "data.type", "fit.type", "nll.type", "year", "sex", "maturity", "shell_condition", "variable", and "value".

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

Value

a melted dataframe


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