View source: R/detfct.fit.opt.R
detfct.fit.opt | R Documentation |
Fit detection function to observed distances using the key-adjustment
function approach. If adjustment functions are included it will alternate
between fitting parameters of key and adjustment functions and then all
parameters much like the approach in the CDS and MCDS Distance FORTRAN code.
This function is called by the driver function detfct.fit
, then
calls optimx
function.
detfct.fit.opt(ddfobj, optim.options, bounds, misc.options, fitting = "all")
ddfobj |
detection function object |
optim.options |
control options for optim |
bounds |
bounds for the parameters |
misc.options |
miscellaneous options |
fitting |
character string with values "all","key","adjust" to determine which parameters are allowed to vary in the fitting |
fitted detection function model object with the following list structure
par |
final parameter vector |
value |
final negative log likelihood value |
counts |
number of function evaluations |
convergence |
see codes in optim |
message |
string about convergence |
hessian |
hessian evaluated at final parameter values |
aux |
a list with 20 elements
|
Dave Miller; Jeff Laake; Lorenzo Milazzo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.