make_likelihood_component: Creates a likelihood component list for MAS

View source: R/make_likelihood_component.R

make_likelihood_componentR Documentation

Creates a likelihood component list for MAS

Description

Creates a likelihood component list for MAS

Usage

make_likelihood_component(ids, models, lambdas, parameters = NA, nyears)

Arguments

ids

A vector of the IDs of each likelihood component in the model

models

A vector with the model distributions for each likelihood type; allowable entries include "lognormal", "multinomial", and "dirichlet"

lambdas

the weighting factors for each likelihood component, one for each year

parameters

only needed for the dirichlet likelihoods, the vectors of observation error parameters

nyears

number of years for each likelihood component


cstawitz/RMAS documentation built on Oct. 6, 2022, 3:31 a.m.