hmmTMB: Fit Hidden Markov Models using Template Model Builder

Fitting hidden Markov models using automatic differentiation and Laplace approximation, allowing for fast inference and flexible covariate effects (including random effects and smoothing splines) on model parameters. The package is described by Michelot (2022) <doi:10.48550/arXiv.2211.14139>.

Version: 1.0.2
Depends: R6, mgcv, TMB, ggplot2
Imports: Matrix, stringr, optimx, CircStats, MASS, tmbstan, methods
LinkingTo: TMB, RcppEigen
Suggests: rstan, testthat, knitr, moveHMM, scico, MSwM, unmarked
Published: 2023-10-24
DOI: 10.32614/CRAN.package.hmmTMB
Author: Theo Michelot [aut, cre], Richard Glennie [aut, ctb]
Maintainer: Theo Michelot <theo.michelot at>
License: GPL-3
NeedsCompilation: yes
Materials: README
CRAN checks: hmmTMB results


Reference manual: hmmTMB.pdf
Vignettes: Online resources for hmmTMB


Package source: hmmTMB_1.0.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): hmmTMB_1.0.2.tgz, r-oldrel (arm64): hmmTMB_1.0.2.tgz, r-release (x86_64): hmmTMB_1.0.2.tgz, r-oldrel (x86_64): hmmTMB_1.0.2.tgz
Old sources: hmmTMB archive


Please use the canonical form to link to this page.