getObjFunValues.Priors: Get model priors in the objective function as a melted...

Description Usage Arguments Details Value

View source: R/getObjFunValues.Priors.R

Description

Function to get model priors as a melted dataframe.

Usage

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

Arguments

repObjs

- tcsam2015 model report 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 report 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 report 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.