getMDFR.OFCs.NonDataComponents: Get non-data components from the objective function for a...

View source: R/getMDFR.OFCs.NonDataComponents.R

getMDFR.OFCs.NonDataComponentsR Documentation

Get non-data components from the objective function for a (list of) TCSAM02 model(s) as a dataframe

Description

Function to get non-data components from the objective function for a (list of) TCSAM02 model(s) as a dataframe.

Usage

getMDFR.OFCs.NonDataComponents(
  obj,
  categories = c("all", "penalties", "penFDevs", "components", "priors"),
  verbose = FALSE
)

Arguments

obj
  • a single tcsam02 rep object, a single tcsam02 resLst object, or a named list of such

categories
  • non-data-related objective function components to get ("all","penalties","penFDevs","components","priors")

verbose
  • flag (T/F) to print diagnostic info

Details

Returned dataframe has columns

  • case - model case (blank, to be filled in by caller if obj is not a list of tcsam02.resLst objects)

  • category - objective function component category

  • type - type name

  • element - element name

  • level - level name

  • wgt - likelihood weight

  • nll - negative log-likelihood (unweighted)

  • objfun - objective function value

Value

dataframe


wStockhausen/rTCSAM02 documentation built on April 16, 2024, 6:25 a.m.