Attempts to catch numerical errors in maximum likelihood computation, by replacing logL values by a default value instead of NaN or other failures
protected.mixML(mixture, pars, constraints = NULL, phi.eq = FALSE, val = NULL,
trace = FALSE, order.unknowns = TRUE, default=-999999, ...)
A list containing
The (suggested) MLE.
The log of the likelihood (log e).
as well as the output from the optimisation.
A DNAmixture object.
A mixpar parameter used as a starting value for the optimisation.
Equality constraint function as function of an array of parameters.
Should the mixture proportions be the same for all traces? Defaults to FALSE.
Vector of values to be satisfied for the equality constraints.
Print the evaluations of the likelihood-function during optimisation?
Should unknown contributors be ordered according to decreasing contributions? Defaults to TRUE.
Further arguments to be passed on to solnp.
value of logL to be used if numerical errors are encountered
Peter Green (P.J.Green@bristol.ac.uk)