likelihood.table: Table of likelihood components

Description Usage Arguments

View source: R/tables.R

Description

Returns a data.frame of the likelihood components. The likelihoods are taken from the 'test_plot_output' file which is output as part of the model fitting process. The output can be processed with the xtable package to make a table for RMarkdown or Latex reports.

Usage

1
likelihood.table(likelihood.list, par.list, npars = FALSE)

Arguments

likelihood.list

A named list of MFCLLikelihood objects (from reading in the 'test_plot_output' files), one for each model.

par.list

A named list of MFCLPar objects, the same length and names as the likelihoods argument. If this argument is not supplied, the 'grad' column is not included in the returned data.frame.

npars

Boolean, if TRUE also returns the number of parameters. Default is FALSE


PacificCommunity/ofp-sam-diags4MFCL documentation built on July 18, 2021, 9:25 a.m.