movLikelihoods: Fit seven random walk models to a movement path

Description Usage Arguments Details References Examples

Description

Fit seven random walk models to a movement path

Usage

1
2
movLikelihoods(movltraj, graph = TRUE, PRdetails = FALSE, TAc = 0, conts=TRUE, dn=FALSE, 
                           ww=FALSE, hs=FALSE, hsl=FALSE, hss=FALSE, hsp=FALSE, hspo=FALSE)

Arguments

movltraj

one ltraj object containing the movement path

graph

one logical value that states whether the models should be plotted

PRdetails

one logical value that states whether the details of the pseudoresiduals should be returned

TAc

one numeric value for the threshold angle used in the local turn method

conts

logical value stating whether to constrain mu between 1 and 3 (i.e. the values relevant for the Levy walk searching strategy)

dn

logical value stating whether to direct numerical maximization of the log likelihood is used rather than the EM-algorithm for the CCRW. see details

ww

logical value stating whether to investigate the CCRW with weibull distributions for SL and wrapped cauchy for TA.

hs

logical value stating whether to investigate the CCRW that is a hidden semi Markov model (HSMM) with weibull distributions for SL, wrapped cauchy for TA, and negative binomial for the state dwell time.

hsl

logical value stating whether to investigate the CCRW that is a hidden semi Markov model (HSMM) with weibull distributions for SL, wrapped cauchy for TA, and negative binomial for the state dwell time (probility of the negative binomial is equal across behaviours).

hsl

logical value stating whether to investigate the CCRW that is a hidden semi Markov model (HSMM) with weibull distributions for SL, wrapped cauchy for TA, and negative binomial for the state dwell time (size of the negative binomial is equal across behaviours).

hsp

logical value stating whether to investigate the CCRW that is a hidden semi Markov model (HSMM) with weibull distributions for SL, wrapped cauchy for TA, and Poisson for the state dwell time.

hsp

logical value stating whether to investigate the CCRW that is a hidden semi Markov model (HSMM) with exponential distributions for SL, von Mises for TA, and Poisson for the state dwell time.

Details

movLikelihoods fits a CCRW, TLW, LW, BW, CRW, TBW, TCRW to a movement path.

Note by default the EM-algorithm is used for the CCRW. Because it is coded in C++ it is much faster than the numerical maximization. If dn=TRUE, the numerical maximization is used, which has the advantage to have one less parameter to estimate: dI.

References

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

Examples

1
2
3
4
5
6
7
simPath <- simmCCRW(500,0.9,0.9,0.1,0.01,5,1)
res <- movLikelihoods(simPath)
res$mleMov
AICcRes <- unlist(res$mle)[grep("AICc", names(unlist(res$mle)))]
AICcRes-min(AICcRes)
res$CI
res$pseudoRes

MarieAugerMethe/CCRWvsLW documentation built on May 7, 2019, 2:50 p.m.