Description Usage Arguments Details Value References See Also
This is the main function to compute the negative 2 x log likelihood function of parameters given data.
This function is not intended to be called directly by users, but can be useful to test user-specified mixture distributions passed to mix.mle.
| 1 | mix.loglik(.pars, .input, .distlist, do.sum = TRUE)
 | 
| .pars | A list of the following 5 parameters: 
 | 
| .input | Vector of (numeric) trait observations. | 
| .distlist | List of 2 distribution density functions. The first is the lower or leftmost distribution; the second is the upper or rightmost. | 
| do.sum | By default, return sum of likelihoods.  Set to  | 
Computes maximum likelihood function for either the normal mixture distribution or the facing gamma distribution model for a dimorphic trait.
Numeric: the negative 2 x log likelihood of trait measurement.
Rowland JM, Qualls CR. 2005. Likelihood models for discriminating alternative phenotypes in morphologically dimorphic species. 
 Evolutionary Ecology Research 7: 421-434.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.