View source: R/make_likelihood_component.R
| make_likelihood_component | R Documentation | 
Creates a likelihood component list for MAS
make_likelihood_component(ids, models, lambdas, parameters = NA, nyears)
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  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.