gadgetlikelihood.Rd
Create a likelihood file object, from fresh or an existing file.
gadgetlikelihood(file_name, path, missingOkay = FALSE)
The name of the likelihood file
The path to the gadget directory to read from
If TRUE
, return an empty likelihood file object if file does not exist.
A list of likelihood components representing file
path <- './cod-model'
# Read 'likelihood' likelihood file, creating it if it doesn't exist
gadgetlikelihood('likelihood', path, missingOkay = TRUE)
#> ; Generated by Rgadget 0.5