likelihood.table | R Documentation |
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)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.