R package providing classes, methods and function for easily handling Discrete Time Markov Chains (DTMC), performing probabilistic analysis and fitting.

Install the current release from CRAN:

install.packages('markovchain')

Install the development version from GitHub:

devtools::install_github('spedygiorgio/markovchain')

alt tagDownloads CRAN_Status_Badge Research software impact

License and citation

The package is distributed under the MIT License, which permits commercial and non-commercial use, modification, distribution, and private use, provided the copyright notice and permission notice are retained in copies or substantial portions of the software.

If you use markovchain in published work, please cite the package as follows:

citation("markovchain")

or in bibliography form:

Spedicato, G. A. (2017). Discrete Time Markov Chains with R. The R Journal, 9(2), 84-104.

This citation is also provided in inst/CITATION.