Animal Movement Modelling using Hidden Markov Models

Provides tools for animal movement modelling using hidden Markov models. These include processing of tracking data, fitting hidden Markov models to movement data, visualization of data and fitted model, decoding of the state process...

An R package for modelling animal movement with hidden Markov models.

Get started with the vignette: Guide to using moveHMM

Installation instructions

Stable release

The package is available on CRAN. To install it from CRAN, you can use the following commands:

# install dependencies
# install moveHMM

Install from Github

To install the latest (unstable) version of the package from Github:

install_github("TheoMichelot/moveHMM", build_vignettes=TRUE)


Michelot, T., Langrock, R., Patterson, T.A. (2016). moveHMM: An R package for analysing animal movement data using hidden Markov models. Methods in Ecology and Evolution. 7(11), 1308-1315.

Langrock, R., King, R., Matthiopoulos, J., Thomas, L., Fortin, D., & Morales, J. M. (2012). Flexible and practical modeling of animal telemetry data: hidden Markov models and extensions. Ecology, 93(11), 2336-2342.

Patterson, T. A., Basson, M., Bravington, M. V., & Gunn, J. S. (2009). Classifying movement behaviour in relation to environmental conditions using hidden Markov models. Journal of Animal Ecology, 78(6), 1113-1123.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.7 by Theo Michelot, 7 months ago,

Browse source code at

Authors: Theo Michelot , Roland Langrock , Toby Patterson , Brett McClintock , Eric Rexstad (ctb)

Documentation:   PDF Manual  

Task views: Handling and Analyzing Spatio-Temporal Data

GPL-3 license

Imports Rcpp, boot, MASS, sp, geosphere, ggplot2, ggmap, numDeriv

Depends on CircStats

Suggests testthat, knitr

Linking to Rcpp, RcppArmadillo

Imported by momentuHMM.

Suggested by SiMRiv, amt, m2b, segclust2d, trackdf.

See at CRAN