markovchain: Easy Handling Discrete Time Markov Chains

Description: Functions and S4 classes to create, manage and analyse discrete time Markov chains. Includes probabilistic analysis of chain structure (state classification, hitting times, stationary distributions, spectral and mixing diagnostics), statistical inference (maximum likelihood and Bayesian estimation, tests of the Markov property, homogeneity, stationarity and order, simulation), higher-order and multivariate chains, state aggregation, and import/export to JSON, YAML and CSV. Basic support for continuous time Markov chains is also provided; some of these functions depend on the suggested 'ctmcd' package. See Spedicato (2017) <doi:10.32614/RJ-2017-036>.

Package details

AuthorGiorgio Alfredo Spedicato [aut, cre] (ORCID: <https://orcid.org/0000-0002-0315-8888>), Tae Seung Kang [aut], Sai Bhargav Yalamanchi [aut], Mildenberger Thoralf [ctb] (ORCID: <https://orcid.org/0000-0001-7242-1873>), Deepak Yadav [aut], Ignacio Cordón [aut] (ORCID: <https://orcid.org/0000-0002-3152-0231>), Vandit Jain [ctb], Toni Giorgino [ctb] (ORCID: <https://orcid.org/0000-0001-6449-0596>), Richèl J.C. Bilderbeek [ctb] (ORCID: <https://orcid.org/0000-0003-1107-7049>), Daniel Ebbert [ctb] (ORCID: <https://orcid.org/0000-0003-3666-7205>), Shreyash Maheshwari [ctb], Reinhold Koch [ctb]
MaintainerGiorgio Alfredo Spedicato <spedicato_giorgio@yahoo.it>
LicenseMIT + file LICENSE
Version1.2
URL https://github.com/spedygiorgio/markovchain/ 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("markovchain")

Try the markovchain package in your browser

Any scripts or data that you put into this service are public.

markovchain documentation built on Oct. 10, 2026, 9:07 a.m.