R/make_likelihood_component.R
make_likelihood_component.Rd
Creates a likelihood component list for MAS
make_likelihood_component(ids, models, lambdas, parameters = NA, nyears)
A vector of the IDs of each likelihood component in the model
A vector with the model distributions for each likelihood type; allowable entries include "lognormal", "multinomial", and "dirichlet"
the weighting factors for each likelihood component, one for each year
only needed for the dirichlet likelihoods, the vectors of observation error parameters
number of years for each likelihood component