Learn R Programming

⚠️There's a newer version (1.2.2) of this package.Take me there.

RcppHMM (version 1.0.1)

Rcpp Hidden Markov Model

Description

Collection of functions to evaluate sequences, decode hidden states and estimate parameters from a single or multiple sequences of a discrete time Hidden Markov Model. The observed values can be modeled by a multinomial distribution for categorical emissions, a mixture of Gaussians for continuous data and also a mixture of Poissons for discrete values. It includes functions for random initialization, simulation, backward or forward sequence evaluation, Viterbi or forward-backward decoding and parameter estimation using an Expectation-Maximization approach.

Copy Link

Version

Install

install.packages('RcppHMM')

Monthly Downloads

230

Version

1.0.1

License

GPL (>= 2)

Maintainer

Roberto Cardenas-Ovando

Last Published

February 8th, 2017

Functions in RcppHMM (1.0.1)

initGHMM

Random Initialization for a Hidden Markov Model with Continuous Emissions
learnEM

Expectation-Maximization algorithm to estimate the model parameters
forwardBackward

Forward-backward algortihm for hidden state decoding
RcppHMM-package

Overview of Package RcppHMM
setNames

Set the names of the model
verifyModel

Model parameter verification
setParameters

Set the model parameters
viterbi

Viterbi algorithm for hidden state decoding
loglikelihood

Multiple observed sequences evaluation given a model
generateObservations

Generate observations given a model
initHMM

Random Initialization for a Hidden Markov Model with Categoric Emissions
initPHMM

Random Initialization for a Hidden Markov Model with Discrete Emissions
evaluation

Observed sequence evaluation given a model