Skip to content

seqHMM

Mixture Hidden Markov Models for Social Sequence Data and Other Multivariate, Multichannel Categorical Time Series

v2.2.0 · Mar 16, 2026 · GPL (>= 2)

Description

Designed for estimating variants of hidden (latent) Markov models (HMMs), mixture HMMs, and non-homogeneous HMMs (NHMMs) for social sequence data and other categorical time series. Special cases include feedback-augmented NHMMs, Markov models without latent layer, mixture Markov models, and latent class models. The package supports models for one or multiple subjects with one or multiple parallel sequences (channels). External covariates can be added to explain cluster membership in mixture models as well as initial, transition and emission probabilities in NHMMs. The package provides functions for evaluating and comparing models, as well as functions for visualizing of multichannel sequence data and HMMs. For NHMMs, methods for computing average causal effects and marginal state and emission probabilities are available. Models are estimated using maximum likelihood via the EM algorithm or direct numerical maximization with analytical gradients. Documentation is available via several vignettes, and Helske and Helske (2019, <doi:10.18637/jss.v088.i03>). For methodology behind the NHMMs, see Helske (2025, <doi:10.48550/arXiv.2503.16014>).

Downloads

812

Last 30 days

4389th

1.9K

Last 90 days

34.2K

Last year

Trend: +19.4% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is 24.5Mb
  sub-directories of 1Mb or more:
    libs  22.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 25.6Mb
  sub-directories of 1Mb or more:
    libs  23.3Mb

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 25.6Mb
  sub-directories of 1Mb or more:
    libs  23.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 24.7Mb
  sub-directories of 1Mb or more:
    libs  22.4Mb

Reverse Dependencies (3)

imports

suggests

Dependency Network

Dependencies Reverse dependencies checkmate cli collapse data.table future.apply ggplot2 ggseqplot gridBase igraph lhs Matrix nloptr numDeriv patchwork progressr +4 more dependencies DBHC clickb tna seqHMM

Version History

updated 2.2.0 ← 2.1.0 diff Mar 16, 2026
new 2.1.0 Mar 10, 2026
updated 2.1.0 ← 2.0.0 diff Sep 24, 2025
updated 2.0.0 ← 1.2.6 diff May 16, 2025
updated 1.2.6 ← 1.2.5 diff Jul 5, 2023
updated 1.2.5 ← 1.2.4 diff Jun 11, 2023
updated 1.2.4 ← 1.2.3 diff Jan 8, 2023
updated 1.2.3 ← 1.2.2 diff Dec 11, 2022
updated 1.2.2 ← 1.2.1-1 diff Nov 29, 2022
updated 1.2.1-1 ← 1.2.0 diff May 24, 2022
updated 1.2.0 ← 1.1.1 diff Oct 17, 2021
updated 1.1.1 ← 1.1.0 diff Aug 12, 2021
updated 1.1.0 ← 1.0.14 diff Jun 17, 2021
updated 1.0.14 ← 1.0.13 diff Oct 21, 2019
updated 1.0.13 ← 1.0.12 diff Jun 16, 2019
updated 1.0.12 ← 1.0.11 diff Apr 10, 2019
updated 1.0.11 ← 1.0.10 diff Apr 8, 2019
updated 1.0.10 ← 1.0.9 diff Jan 25, 2019
updated 1.0.9 ← 1.0.8-1 diff Nov 5, 2018
updated 1.0.8-1 ← 1.0.8 diff May 9, 2018