getObjFunValues.Penalties: Get model penalties in the objective function as a melted...

Description Usage Arguments Details Value

View source: R/getObjFunValues.Penalties.R

Description

Function to get model penalties as a melted dataframe.

Usage

1
getObjFunValues.Penalties(repObjs, mdl = NULL, verbose = FALSE)

Arguments

repObjs

- tcsam2015.rep model results object or list of such

mdl

- name to associate with model results object

verbose

- flag (T/F) to print diagnostic info

Details

If repObjs is a list of tcsam2015 model results 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 results object and mdl is NULL (the default), then repObjs$mc$configName is used as the model name.

The returned dataframe has columns named "model", "type", "category", "name", "level", "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.