getOFCs | R Documentation |
Function to get model components in the objective function as a tcsam02.ofc (melted dataframe) object.
getOFCs(obj, mdl = NULL, verbose = FALSE)
obj |
|
mdl |
|
verbose |
|
If obj is a list of tcsam02 resLst (tcsam.resLst) or rep (tcsam02.rep) objects, then the function is called recursively for each object, with the associated list component name used as mdl. If obj is a tcsam02 resLst or rep object and mdl is NULL (the default), then the 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').
a melted dataframe with class tcsam02.ofc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.