make_gadget_likelihood: Create a Gadget likelihood file

Description Usage Arguments Value Examples

Description

This function concentrates the various likelihood components created by gadget_likelihood_comps and puts them all in a single object ready for writing.

Usage

1
make_gadget_likelihood(..., penalty = TRUE, understocking = TRUE)

Arguments

...

Various Gadget likelihood components desired that are of class gadget_*_likelihood, see gadget_likelihood_comps

penalty

Logical. Should a penalty likelihood component be added

understocking

Logical. Should an understocking likelihood component be added

Value

A list of class gadget_likelihood that contains the various likelihood components

Examples

1
2
# see examples in ?gadget_likelihood_comps
lik_file <- make_gadget_likelihood(spr_ldist_comp, spr_aldist_comp)

inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.