Description Usage Arguments Details References Examples
Minimize the negative log-likelihood for the LW.
1 2 |
SL |
numeric vector containing the step lengths, default min(SL) |
TA |
numeric vector containing the turning angles |
SLmin |
one numeric value representing the minimum step length |
mu |
one numeric value for the parameter |
parF |
list for fix parameter values, see default |
The mnllLW function uses an analytical solution to maximize the likelihood to estimate the parameter mu. Note that the parameter value is restrained between 1 and 3, if the value returned by the analytical formula is greater outside these bounds a constrained optimizer is used.
The nllLW function evaluate the negative log likelihood value.
Please refer to Auger-Methe, M., A.E. Derocher, M.J. Plank, E.A. Codling, M.A. Lewis (2015-In Press) Differentiating the Levy walk from a composite correlated random walk. Methods in Ecology and Evolution. Preprint available at http://arxiv.org/abs/1406.4355
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.