likelihood.table: Table of likelihood components

View source: R/tables.R

likelihood.tableR Documentation

Table of likelihood components


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.


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



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


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.


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

PacificCommunity/ofp-sam-diags4MFCL documentation built on Nov. 7, 2022, 11:21 p.m.