Home - slzhang-fd/hmmgibbs GitHub Wiki
hmmgibbs
is an R package for estimating a Hidden Markov Model using full Bayesian Gibbs sampler.
hmmgibbs
?
Why - fast speed.
- general algorithm which is able to handle a group of models.
- written concisely in pure R.
hmmgibbs
package from github
Install the ## install required packages
required_packages <- c("remotes", "armspp", "Rcpp", "RcppArmadillo", "MCMCpack")
new_packages <- required_packages[!(required_packages %in% installed.packages()[,"Package"])]
if(length(new_packages)) install.packages(new_packages)
remotes::install_github("slzhang-fd/hmmgibbs")
Usage
Check examples in