Easy Handling Discrete Time Markov Chains

Functions and S4 methods to create and manage discrete time Markov chains more easily. In addition functions to perform statistical (fitting and drawing random variates) and probabilistic (analysis of their structural proprieties) analysis are provided. See Spedicato (2017) . Some functions for continuous times Markov chains depend on the suggested ctmcd package.


markovchain

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 tag Downloads CRAN_Status_Badge Research software impact

R-CMD-check Codecov test coverage

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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("markovchain")

1.1.1 by Giorgio Alfredo Spedicato, 21 days ago


https://github.com/spedygiorgio/markovchain/


Report a bug at https://github.com/spedygiorgio/markovchain/issues


Browse source code at https://github.com/cran/markovchain


Authors: Giorgio Alfredo Spedicato [aut, cre] (ORCID: , Tae Seung Kang [aut] , Sai Bhargav Yalamanchi [aut] , Mildenberger Thoralf [ctb] (ORCID: , Deepak Yadav [aut] , Ignacio Cordón [aut] , Vandit Jain [ctb] , Toni Giorgino [ctb] , Richèl J.C. Bilderbeek [ctb] (ORCID: , Daniel Ebbert [ctb] , Shreyash Maheshwari [ctb] , Reinhold Koch [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports igraph, expm, stats4, parallel, Rcpp, RcppParallel, utils, stats, grDevices

Depends on Matrix, methods

Suggests knitr, testthat, diagram, DiagrammeR, ggplot2, msm, Rsolnp, rmarkdown, ctmcd, bookdown, rticles, MCMCpack, microbenchmark, quarto

Enhances etm

Linking to Rcpp, RcppParallel, RcppArmadillo

System requirements: GNU make, Quarto


Imported by HVT, dtms, modesto.

Suggested by CADF, aqp, lifecontingencies.


See at CRAN