Datasets and code examples that accompany our book Visser & Speekenbrink (2021), "Mixture and Hidden Markov Models with R", <https://depmix.github.io/hmmr/>.

Reliability Analysis and Maintenance Optimization using Hidden Markov Models (HMM). The use of HMMs to model the state of a system which is not directly observable and instead certain indicators (signals) of the true situation are provided via a control system. A hidden model can provide key information about the system dependability, such as the reliability of the system and related measures. An estimation procedure is implemented based on the Baum-Welch algorithm. Classical structures such as K-out-of-N systems and Shock models are illustrated. Finally, the maintenance of the system is considered in the HMM context and two functions for new preventive maintenance strategies are considered. Maintenance efficiency is measured in terms of expected cost. Methods are described in Gamiz, Limnios, and Segovia-Garcia (2023) <doi:10.1016/j.ejor.2022.05.006>.

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 (2025) <doi:10.18637/jss.v114.i05>.

Using Dirichlet-Multinomial distribution to provide several functions for formal hypothesis testing, power and sample size calculations for human microbiome experiments.

Tools to model, compare, and visualize populations of taxonomic tree objects.

Statistical analysis of static chamber concentration data for trace gas flux estimation.

Implements an S3 class for storing and formatting time-of-day
    values, based on the 'difftime' class.

Hierarchical Modelling of Species Communities (HMSC) is
   a model-based approach for analyzing community ecological data. 
   This package implements it in the Bayesian framework with Gibbs
   Markov chain Monte Carlo (MCMC) sampling (Tikhonov et al. (2020)
   <doi:10.1111/2041-210X.13345>).