Description Usage Arguments Details Value Note Author(s) Examples
Find the conditional maximum likelihood estimate (assuming marker frequencies in the sources are exactly equal to the sample frequencies) of the contributions of different sources to a mixed stock
1 2 3 4 5 6 |
x |
a list with elements |
grad |
function giving the gradient of the likelhood |
start.type |
starting values to use: |
fuzz |
min. value (1-min is the max.) for starting contributions |
bounds |
(bounds,1-bounds) are the lower and upper bounds for mle calculations |
ndepfac |
factor for computing numerical derivatives; numerical derivative stepsize is computed as bounds/ndepfac [OBSOLETE with gradient function?] |
method |
optimization method, to be passed to |
debug |
produce debugging output? |
lower |
lower bound |
upper |
upper bound |
ndeps |
scaling factor for optimization |
control |
other control arguments to |
transf |
(character) "full": use arctan transform to transform (-Inf,Inf) to (0,1) or vice versa; "part": don't; "none"; no transform |
... |
other arguments to |
By default, uses mle
which in turn uses optim
with method="L-BFGS-B"
to do bounded optimization
an object of class mixstock.est
, containing the results of
the fit
There is a hard-coded limit of 500 markers and 100 sources; contact the package maintainer if this is a problem
Ben Bolker
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.