{
  "_id": "6a105306acfb0bcc41ca1986",
  "Package": "markovchain",
  "Type": "Package",
  "Title": "Easy Handling Discrete Time Markov Chains",
  "Version": "0.10.3",
  "Authors@R": "c(\nperson(\"Giorgio Alfredo\", \"Spedicato\", role = c(\"aut\", \"cre\"),\nemail = \"spedicato_giorgio@yahoo.it\",comment = c(ORCID = \"0000-0002-0315-8888\")),\nperson(\"Tae\", \"Seung Kang\", role = \"aut\"),\nperson(\"Sai\", \"Bhargav Yalamanchi\", role = \"aut\"),\nperson(\"Mildenberger\", \"Thoralf\", role = \"ctb\", comment = c(ORCID = \"0000-0001-7242-1873\")),\nperson(\"Deepak\", \"Yadav\", role = \"aut\"),\nperson(\"Ignacio\", \"Cordón\", role = \"aut\", comment = c(ORCID = \"0000-0002-3152-0231\")),\nperson(\"Vandit\", \"Jain\", role = \"ctb\"),\nperson(\"Toni\", \"Giorgino\", role=\"ctb\", comment = c(ORCID = \"0000-0001-6449-0596\")),\nperson(\"Richèl J.C.\", \"Bilderbeek\", role = \"ctb\", comment = c(ORCID = \"0000-0003-1107-7049\")),\nperson(\"Daniel\", \"Ebbert\", email = \"daniel@ebbert.nrw\", role = \"ctb\", comment = c(ORCID = \"0000-0003-3666-7205\")),\nperson(\"Shreyash\", \"Maheshwari\", email = \"coolshreysh1000@gmail.com\", role = \"ctb\"),\nperson(\"Reinhold\", \"Koch\", role = \"ctb\")\n)",
  "Maintainer": "Giorgio Alfredo Spedicato <spedicato_giorgio@yahoo.it>",
  "Description": "Functions and S4 methods to create and manage discrete\ntime Markov chains more easily. In addition functions to\nperform statistical (fitting and drawing random variates) and\nprobabilistic (analysis of their structural proprieties)\nanalysis are provided. See Spedicato (2017)\n<doi:10.32614/RJ-2017-036>. Some functions for continuous times\nMarkov chains depend on the suggested ctmcd package.",
  "License": "MIT + file LICENSE",
  "VignetteBuilder": "rmarkdown, knitr, bookdown, rticles",
  "SystemRequirements": "GNU make",
  "LazyLoad": "yes",
  "ByteCompile": "yes",
  "Encoding": "UTF-8",
  "BugReports": "https://github.com/spedygiorgio/markovchain/issues",
  "URL": "https://github.com/spedygiorgio/markovchain/",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libglpk-dev make libxml2-dev",
  "Repository": "https://spedygiorgio.r-universe.dev",
  "Date/Publication": "2026-02-01 17:44:56 UTC",
  "RemoteUrl": "https://github.com/spedygiorgio/markovchain",
  "RemoteRef": "HEAD",
  "RemoteSha": "1ae4487e598982fd68a2ab3b292839eb40f73053",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-09 09:14:36 UTC",
    "User": "root"
  },
  "Author": "Giorgio Alfredo Spedicato [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0315-8888>),\nTae Seung Kang [aut],\nSai Bhargav Yalamanchi [aut],\nMildenberger Thoralf [ctb] (ORCID:\n<https://orcid.org/0000-0001-7242-1873>),\nDeepak Yadav [aut],\nIgnacio Cordón [aut] (ORCID: <https://orcid.org/0000-0002-3152-0231>),\nVandit Jain [ctb],\nToni Giorgino [ctb] (ORCID: <https://orcid.org/0000-0001-6449-0596>),\nRichèl J.C. Bilderbeek [ctb] (ORCID:\n<https://orcid.org/0000-0003-1107-7049>),\nDaniel Ebbert [ctb] (ORCID: <https://orcid.org/0000-0003-3666-7205>),\nShreyash Maheshwari [ctb],\nReinhold Koch [ctb]",
  "MD5sum": "fad5c3d5b858eb5f6b6bfacf72d4eedc",
  "_user": "spedygiorgio",
  "_type": "src",
  "_file": "markovchain_0.10.3.tar.gz",
  "_fileid": "52dc575a42d8716e3d64abdfcb3c3bd874ea89f2ab15618839c1b4a16a6972e3",
  "_filesize": 997000,
  "_sha256": "52dc575a42d8716e3d64abdfcb3c3bd874ea89f2ab15618839c1b4a16a6972e3",
  "_created": "2026-05-09T09:14:36.000Z",
  "_published": "2026-05-22T12:58:46.556Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77383966496,
      "time": 243,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894599930"
    },
    {
      "job": 77383966330,
      "time": 231,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894598768"
    },
    {
      "job": 77383966578,
      "time": 221,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894597843"
    },
    {
      "job": 77383966410,
      "time": 269,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894602599"
    },
    {
      "job": 77383966552,
      "time": 178,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894597354"
    },
    {
      "job": 77383966461,
      "time": 254,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894601392"
    },
    {
      "job": 77383966335,
      "time": 158,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894601895"
    },
    {
      "job": 77383966585,
      "time": 338,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894609044"
    },
    {
      "job": 77383965448,
      "time": 363,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894578557"
    },
    {
      "job": 77383965646,
      "time": 176,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7161049538"
    },
    {
      "job": 77383966201,
      "time": 230,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894598703"
    },
    {
      "job": 77383966625,
      "time": 209,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894596926"
    },
    {
      "job": 77383966390,
      "time": 211,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894597010"
    }
  ],
  "_buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/spedygiorgio/markovchain",
  "_commit": {
    "id": "1ae4487e598982fd68a2ab3b292839eb40f73053",
    "author": "Giorgio Alfredo Spedicato <spedygiorgio@gmail.com>",
    "committer": "Giorgio Alfredo Spedicato <spedygiorgio@gmail.com>",
    "message": "fix: updates url references\n",
    "time": 1769967896
  },
  "_maintainer": {
    "name": "Giorgio Alfredo Spedicato",
    "email": "spedicato_giorgio@yahoo.it",
    "orcid": "0000-0002-0315-8888"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "Matrix",
      "version": ">= 1.5-0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "version": ">= 0.9.600.4.0",
      "role": "LinkingTo"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "expm",
      "role": "Imports"
    },
    {
      "package": "stats4",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.2",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "diagram",
      "role": "Suggests"
    },
    {
      "package": "DiagrammeR",
      "role": "Suggests"
    },
    {
      "package": "msm",
      "role": "Suggests"
    },
    {
      "package": "Rsolnp",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ctmcd",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "rticles",
      "role": "Suggests"
    },
    {
      "package": "MCMCpack",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    },
    {
      "package": "etm",
      "role": "Enhances"
    }
  ],
  "_owner": "spedygiorgio",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [
    {
      "week": "2025-38",
      "n": 2
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 5
    },
    {
      "week": "2026-05",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "ctmc",
    "dtmc",
    "markov-chain",
    "markov-model",
    "r-programming",
    "rcpp",
    "openblas",
    "cpp"
  ],
  "_stars": 113,
  "_contributors": [
    {
      "user": "spedygiorgio",
      "count": 337,
      "uuid": 825030
    },
    {
      "user": "ncordon",
      "count": 193,
      "uuid": 5649971
    },
    {
      "user": "tskang",
      "count": 174,
      "uuid": 5221164
    },
    {
      "user": "cryptomanic",
      "count": 112,
      "uuid": 11361363
    },
    {
      "user": "vandit15",
      "count": 95,
      "uuid": 16348732
    },
    {
      "user": "ebbertd",
      "count": 7,
      "uuid": 20522234
    },
    {
      "user": "reikoch",
      "count": 6,
      "uuid": 8436725
    },
    {
      "user": "ysaibhargav",
      "count": 6,
      "uuid": 2175542
    },
    {
      "user": "tonigi",
      "count": 6,
      "uuid": 2752011
    },
    {
      "user": "coolshreysh1000",
      "count": 4,
      "uuid": 65478072
    },
    {
      "user": "enchufa2",
      "count": 3,
      "uuid": 4542928
    },
    {
      "user": "yihui",
      "count": 2,
      "uuid": 163582
    },
    {
      "user": "abelborges",
      "count": 1,
      "uuid": 15386102
    },
    {
      "user": "ryan-hardiman",
      "count": 1,
      "uuid": 79624586
    },
    {
      "user": "ntguardian",
      "count": 1,
      "uuid": 13967289
    }
  ],
  "_userbio": {
    "uuid": 825030,
    "type": "user",
    "name": "Giorgio Alfredo Spedicato"
  },
  "_downloads": {
    "count": 9941,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/markovchain"
  },
  "_mentions": 9,
  "_devurl": "https://github.com/spedygiorgio/markovchain",
  "_searchresults": 876,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/markovchain.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/spedygiorgio/markovchain",
  "_realowner": "spedygiorgio",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2013-08-13"
    },
    {
      "version": "0.0.2",
      "date": "2013-09-09"
    },
    {
      "version": "0.0.3",
      "date": "2013-11-04"
    },
    {
      "version": "0.0.5",
      "date": "2013-12-31"
    },
    {
      "version": "0.0.7",
      "date": "2014-01-11"
    },
    {
      "version": "0.0.8",
      "date": "2014-02-10"
    },
    {
      "version": "0.0.9",
      "date": "2014-04-19"
    },
    {
      "version": "0.0.9.5",
      "date": "2014-06-20"
    },
    {
      "version": "0.1.0",
      "date": "2015-01-04"
    },
    {
      "version": "0.1.1",
      "date": "2015-02-21"
    },
    {
      "version": "0.2",
      "date": "2015-04-29"
    },
    {
      "version": "0.2.1",
      "date": "2015-05-12"
    },
    {
      "version": "0.3",
      "date": "2015-06-15"
    },
    {
      "version": "0.3.0.1",
      "date": "2015-06-19"
    },
    {
      "version": "0.3.1",
      "date": "2015-07-07"
    },
    {
      "version": "0.4",
      "date": "2015-08-04"
    },
    {
      "version": "0.4.2",
      "date": "2015-08-24"
    },
    {
      "version": "0.4.3",
      "date": "2015-11-26"
    },
    {
      "version": "0.4.3.1",
      "date": "2016-03-05"
    },
    {
      "version": "0.4.4",
      "date": "2016-05-12"
    },
    {
      "version": "0.4.9.9",
      "date": "2016-07-03"
    },
    {
      "version": "0.5",
      "date": "2016-07-07"
    },
    {
      "version": "0.6",
      "date": "2016-08-11"
    },
    {
      "version": "0.6.5",
      "date": "2016-08-29"
    },
    {
      "version": "0.6.5.1",
      "date": "2016-09-08"
    },
    {
      "version": "0.6.6",
      "date": "2017-01-25"
    },
    {
      "version": "0.6.8.1",
      "date": "2017-03-17"
    },
    {
      "version": "0.6.9",
      "date": "2017-04-05"
    },
    {
      "version": "0.6.9.3",
      "date": "2017-05-19"
    },
    {
      "version": "0.6.9.6",
      "date": "2017-07-09"
    },
    {
      "version": "0.6.9.8-1",
      "date": "2017-08-16"
    },
    {
      "version": "0.6.9.10",
      "date": "2018-06-02"
    },
    {
      "version": "0.6.9.11",
      "date": "2018-06-29"
    },
    {
      "version": "0.6.9.12",
      "date": "2018-08-23"
    },
    {
      "version": "0.6.9.14",
      "date": "2019-01-21"
    },
    {
      "version": "0.6.9.16",
      "date": "2019-07-22"
    },
    {
      "version": "0.7.0",
      "date": "2019-08-27"
    },
    {
      "version": "0.8.0",
      "date": "2019-09-14"
    },
    {
      "version": "0.8.1",
      "date": "2019-12-17"
    },
    {
      "version": "0.8.2",
      "date": "2020-01-10"
    },
    {
      "version": "0.8.3",
      "date": "2020-03-07"
    },
    {
      "version": "0.8.4",
      "date": "2020-03-12"
    },
    {
      "version": "0.8.4.1",
      "date": "2020-05-03"
    },
    {
      "version": "0.8.5",
      "date": "2020-05-21"
    },
    {
      "version": "0.8.5-2",
      "date": "2020-09-08"
    },
    {
      "version": "0.8.5-3",
      "date": "2020-12-06"
    },
    {
      "version": "0.8.5-4",
      "date": "2021-01-10"
    },
    {
      "version": "0.8.6",
      "date": "2021-05-17"
    },
    {
      "version": "0.8.9",
      "date": "2022-05-26"
    },
    {
      "version": "0.9.0",
      "date": "2022-07-01"
    },
    {
      "version": "0.9.1",
      "date": "2023-01-19"
    },
    {
      "version": "0.9.3",
      "date": "2023-05-18"
    },
    {
      "version": "0.9.4",
      "date": "2023-08-31"
    },
    {
      "version": "0.9.5",
      "date": "2023-09-24"
    },
    {
      "version": "0.10.0",
      "date": "2024-11-14"
    },
    {
      "version": "0.10.3",
      "date": "2026-02-02"
    }
  ],
  "_exports": [
    "absorbingStates",
    "absorptionProbabilities",
    "assessOrder",
    "assessStationarity",
    "canonicForm",
    "coerce",
    "committorAB",
    "communicatingClasses",
    "conditionalDistribution",
    "createSequenceMatrix",
    "ctmcFit",
    "expectedRewards",
    "expectedRewardsBeforeHittingA",
    "ExpectedTime",
    "firstPassage",
    "firstPassageMultiple",
    "fitHigherOrder",
    "fitHighOrderMultivarMC",
    "freq2Generator",
    "generatorToTransitionMatrix",
    "hittingProbabilities",
    "impreciseProbabilityatT",
    "inferHyperparam",
    "is.accessible",
    "is.CTMCirreducible",
    "is.irreducible",
    "is.regular",
    "is.TimeReversible",
    "markovchainFit",
    "markovchainListFit",
    "markovchainSequence",
    "meanAbsorptionTime",
    "meanFirstPassageTime",
    "meanNumVisits",
    "meanRecurrenceTime",
    "multinomialConfidenceIntervals",
    "name",
    "name<-",
    "noofVisitsDist",
    "period",
    "plot",
    "predict",
    "predictHommc",
    "predictiveDistribution",
    "print",
    "priorDistribution",
    "probabilityatT",
    "rctmc",
    "recurrentClasses",
    "recurrentStates",
    "rmarkovchain",
    "seq2freqProb",
    "seq2matHigh",
    "show",
    "states",
    "steadyStates",
    "summary",
    "t",
    "transientClasses",
    "transientStates",
    "transition2Generator",
    "transitionProbability",
    "verifyEmpiricalToTheoretical",
    "verifyHomogeneity",
    "verifyMarkovProperty"
  ],
  "_datasets": [
    {
      "name": "blanden",
      "title": "Mobility between income quartiles",
      "object": "blanden",
      "file": "blanden.rda",
      "class": [
        "table"
      ],
      "fields": [
        "Bottom",
        "2nd",
        "3rd",
        "Top"
      ],
      "rows": 4,
      "table": true,
      "tojson": false
    },
    {
      "name": "craigsendi",
      "title": "CD4 cells counts on HIV Infects between zero and six month",
      "object": "craigsendi",
      "file": "craigsendi.rda",
      "class": [
        "table"
      ],
      "fields": [
        "0-49",
        "50-74",
        "75-UP"
      ],
      "rows": 3,
      "table": true,
      "tojson": false
    },
    {
      "name": "holson",
      "title": "Holson data set",
      "object": "holson",
      "file": "holson.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time1",
        "time2",
        "time3",
        "time4",
        "time5",
        "time6",
        "time7",
        "time8",
        "time9",
        "time10",
        "time11"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "kullback",
      "title": "Example from Kullback and Kupperman Tests for Contingency Tables",
      "object": "kullback",
      "file": "kullback.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "preproglucacon",
      "title": "Preprogluccacon DNA protein bases sequences",
      "object": "preproglucacon",
      "file": "preproglucacon.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "preproglucacon"
      ],
      "rows": 1572,
      "table": true,
      "tojson": true
    },
    {
      "name": "rain",
      "title": "Alofi island daily rainfall",
      "object": "rain",
      "file": "rain.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "rain"
      ],
      "rows": 1096,
      "table": true,
      "tojson": true
    },
    {
      "name": "sales",
      "title": "Sales Demand Sequences",
      "object": "sales",
      "file": "sales.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "A",
        "B",
        "C",
        "D",
        "E"
      ],
      "rows": 269,
      "table": true,
      "tojson": true
    },
    {
      "name": "tm_abs",
      "title": "Single Year Corporate Credit Rating Transititions",
      "object": "tm_abs",
      "file": "tm_abs.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "AAA",
        "AA",
        "A",
        "BBB",
        "BB",
        "B",
        "C",
        "D"
      ],
      "rows": 8,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "markovchain-package",
      "title": "Easy Handling Discrete Time Markov Chains",
      "topics": [
        "markovchain-package",
        "markovchain"
      ]
    },
    {
      "page": "absorptionProbabilities",
      "title": "Absorption probabilities",
      "topics": [
        "absorptionProbabilities"
      ]
    },
    {
      "page": "blanden",
      "title": "Mobility between income quartiles",
      "topics": [
        "blanden"
      ]
    },
    {
      "page": "committorAB",
      "title": "Calculates committor of a markovchain object with respect to set A, B",
      "topics": [
        "committorAB"
      ]
    },
    {
      "page": "conditionalDistribution",
      "title": "'conditionalDistribution' of a Markov Chain",
      "topics": [
        "conditionalDistribution"
      ]
    },
    {
      "page": "craigsendi",
      "title": "CD4 cells counts on HIV Infects between zero and six month",
      "topics": [
        "craigsendi"
      ]
    },
    {
      "page": "markovchainFit",
      "title": "Function to fit a discrete Markov chain",
      "topics": [
        "createSequenceMatrix",
        "markovchainFit"
      ]
    },
    {
      "page": "ctmc-class",
      "title": "Continuous time Markov Chains class",
      "topics": [
        "ctmc-class",
        "dim,ctmc-method",
        "initialize,ctmc_method",
        "plot,ctmc,missing-method",
        "states,ctmc-method",
        "steadyStates,ctmc-method"
      ]
    },
    {
      "page": "ctmcFit",
      "title": "Function to fit a CTMC",
      "topics": [
        "ctmcFit"
      ]
    },
    {
      "page": "expectedRewards",
      "title": "Expected Rewards for a markovchain",
      "topics": [
        "expectedRewards"
      ]
    },
    {
      "page": "expectedRewardsBeforeHittingA",
      "title": "Expected first passage Rewards for a set of states in a markovchain",
      "topics": [
        "expectedRewardsBeforeHittingA"
      ]
    },
    {
      "page": "ExpectedTime",
      "title": "Returns expected hitting time from state i to state j",
      "topics": [
        "ExpectedTime"
      ]
    },
    {
      "page": "firstPassage",
      "title": "First passage across states",
      "topics": [
        "firstPassage"
      ]
    },
    {
      "page": "firstPassageMultiple",
      "title": "function to calculate first passage probabilities",
      "topics": [
        "firstPassageMultiple"
      ]
    },
    {
      "page": "fitHigherOrder",
      "title": "Functions to fit a higher order Markov chain",
      "topics": [
        "fitHigherOrder",
        "seq2freqProb",
        "seq2matHigh"
      ]
    },
    {
      "page": "fitHighOrderMultivarMC",
      "title": "Function to fit Higher Order Multivariate Markov chain",
      "topics": [
        "fitHighOrderMultivarMC"
      ]
    },
    {
      "page": "freq2Generator",
      "title": "Returns a generator matrix corresponding to frequency matrix",
      "topics": [
        "freq2Generator"
      ]
    },
    {
      "page": "generatorToTransitionMatrix",
      "title": "Function to obtain the transition matrix from the generator",
      "topics": [
        "generatorToTransitionMatrix"
      ]
    },
    {
      "page": "HigherOrderMarkovChain-class",
      "title": "Higher order Markov Chains class",
      "topics": [
        "HigherOrderMarkovChain-class"
      ]
    },
    {
      "page": "hittingProbabilities",
      "title": "Hitting probabilities for markovchain",
      "topics": [
        "hittingProbabilities"
      ]
    },
    {
      "page": "holson",
      "title": "Holson data set",
      "topics": [
        "holson"
      ]
    },
    {
      "page": "hommc-class",
      "title": "An S4 class for representing High Order Multivariate Markovchain (HOMMC)",
      "topics": [
        "hommc",
        "hommc-class"
      ]
    },
    {
      "page": "ictmc-class",
      "title": "An S4 class for representing Imprecise Continuous Time Markovchains",
      "topics": [
        "ictmc",
        "ictmc-class"
      ]
    },
    {
      "page": "impreciseProbabilityatT",
      "title": "Calculating full conditional probability using lower rate transition matrix",
      "topics": [
        "impreciseProbabilityatT"
      ]
    },
    {
      "page": "inferHyperparam",
      "title": "Function to infer the hyperparameters for Bayesian inference from an a priori matrix or a data set",
      "topics": [
        "inferHyperparam"
      ]
    },
    {
      "page": "is.accessible",
      "title": "Verify if a state j is reachable from state i.",
      "topics": [
        "is.accessible"
      ]
    },
    {
      "page": "is.CTMCirreducible",
      "title": "Check if CTMC is irreducible",
      "topics": [
        "is.CTMCirreducible"
      ]
    },
    {
      "page": "is.irreducible",
      "title": "Function to check if a Markov chain is irreducible (i.e. ergodic)",
      "topics": [
        "is.irreducible"
      ]
    },
    {
      "page": "is.regular",
      "title": "Check if a DTMC is regular",
      "topics": [
        "is.regular"
      ]
    },
    {
      "page": "is.TimeReversible",
      "title": "checks if ctmc object is time reversible",
      "topics": [
        "is.TimeReversible"
      ]
    },
    {
      "page": "kullback",
      "title": "Example from Kullback and Kupperman Tests for Contingency Tables",
      "topics": [
        "kullback"
      ]
    },
    {
      "page": "markovchain-class",
      "title": "Markov Chain class",
      "topics": [
        "!=,markovchain,markovchain-method",
        "*,markovchain,markovchain-method",
        "*,markovchain,matrix-method",
        "*,markovchain,numeric-method",
        "*,matrix,markovchain-method",
        "*,numeric,markovchain-method",
        "==,markovchain,markovchain-method",
        "absorbingStates,markovchain-method",
        "absorptionProbabilities,markovchain-method",
        "canonicForm,markovchain-method",
        "coerce,data.frame,markovchain-method",
        "coerce,etm,markovchain-method",
        "coerce,markovchain,data.frame-method",
        "coerce,markovchain,igraph-method",
        "coerce,markovchain,matrix-method",
        "coerce,markovchain,sparseMatrix-method",
        "coerce,Matrix,markovchain-method",
        "coerce,matrix,markovchain-method",
        "coerce,msm,markovchain-method",
        "coerce,msm.est,markovchain-method",
        "coerce,sparseMatrix,markovchain-method",
        "coerce,table,markovchain-method",
        "communicatingClasses,markovchain-method",
        "conditionalDistribution,markovchain-method",
        "dim,markovchain-method",
        "hittingProbabilities,markovchain-method",
        "initialize,markovchain-method",
        "is.accessible,markovchain,character,character-method",
        "is.accessible,markovchain,missing,missing-method",
        "is.irreducible,markovchain-method",
        "is.regular,markovchain-method",
        "markovchain-class",
        "meanAbsorptionTime,markovchain-method",
        "meanFirstPassageTime,markovchain,character-method",
        "meanFirstPassageTime,markovchain,missing-method",
        "meanNumVisits,markovchain-method",
        "meanRecurrenceTime,markovchain-method",
        "names<-,markovchain-method",
        "plot,markovchain,missing-method",
        "predict,markovchain-method",
        "print,markovchain-method",
        "recurrentClasses,markovchain-method",
        "recurrentStates,markovchain-method",
        "show,markovchain-method",
        "sort,markovchain-method",
        "steadyStates,markovchain-method",
        "summary,markovchain-method",
        "t,markovchain-method",
        "transientClasses,markovchain-method",
        "transientStates,markovchain-method",
        "[,markovchain,ANY,ANY,ANY-method",
        "^,markovchain,numeric-method"
      ]
    },
    {
      "page": "markovchainList-class",
      "title": "Non homogeneus discrete time Markov Chains class",
      "topics": [
        "dim,markovchainList-method",
        "markovchainList-class",
        "predict,markovchainList-method",
        "print,markovchainList-method",
        "show,markovchainList-method",
        "[[,markovchainList-method"
      ]
    },
    {
      "page": "markovchainListFit",
      "title": "markovchainListFit",
      "topics": [
        "markovchainListFit"
      ]
    },
    {
      "page": "markovchainSequence",
      "title": "Function to generate a sequence of states from homogeneous Markov chains.",
      "topics": [
        "markovchainSequence"
      ]
    },
    {
      "page": "meanAbsorptionTime",
      "title": "Mean absorption time",
      "topics": [
        "meanAbsorptionTime"
      ]
    },
    {
      "page": "meanFirstPassageTime",
      "title": "Mean First Passage Time for irreducible Markov chains",
      "topics": [
        "meanFirstPassageTime"
      ]
    },
    {
      "page": "meanNumVisits",
      "title": "Mean num of visits for markovchain, starting at each state",
      "topics": [
        "meanNumVisits"
      ]
    },
    {
      "page": "meanRecurrenceTime",
      "title": "Mean recurrence time",
      "topics": [
        "meanRecurrenceTime"
      ]
    },
    {
      "page": "multinomialConfidenceIntervals",
      "title": "A function to compute multinomial confidence intervals of DTMC",
      "topics": [
        "multinomialConfidenceIntervals"
      ]
    },
    {
      "page": "getName",
      "title": "Method to retrieve name of markovchain object",
      "topics": [
        "name",
        "name,markovchain-method"
      ]
    },
    {
      "page": "setName",
      "title": "Method to set name of markovchain object",
      "topics": [
        "name<-",
        "name<-,markovchain-method"
      ]
    },
    {
      "page": "names",
      "title": "Returns the states for a Markov chain object",
      "topics": [
        "names,markovchain-method"
      ]
    },
    {
      "page": "noofVisitsDist",
      "title": "return a joint pdf of the number of visits to the various states of the DTMC",
      "topics": [
        "noofVisitsDist"
      ]
    },
    {
      "page": "ones",
      "title": "Returns an Identity matrix",
      "topics": [
        "ones"
      ]
    },
    {
      "page": "structuralAnalysis",
      "title": "Various function to perform structural analysis of DTMC",
      "topics": [
        "absorbingStates",
        "canonicForm",
        "communicatingClasses",
        "period",
        "recurrentClasses",
        "recurrentStates",
        "transientClasses",
        "transientStates"
      ]
    },
    {
      "page": "predictHommc",
      "title": "Simulate a higher order multivariate markovchain",
      "topics": [
        "predictHommc"
      ]
    },
    {
      "page": "predictiveDistribution",
      "title": "predictiveDistribution",
      "topics": [
        "predictiveDistribution"
      ]
    },
    {
      "page": "preproglucacon",
      "title": "Preprogluccacon DNA protein bases sequences",
      "topics": [
        "preproglucacon"
      ]
    },
    {
      "page": "priorDistribution",
      "title": "priorDistribution",
      "topics": [
        "priorDistribution"
      ]
    },
    {
      "page": "probabilityatT",
      "title": "Calculating probability from a ctmc object",
      "topics": [
        "probabilityatT"
      ]
    },
    {
      "page": "rain",
      "title": "Alofi island daily rainfall",
      "topics": [
        "rain"
      ]
    },
    {
      "page": "rctmc",
      "title": "rctmc",
      "topics": [
        "rctmc"
      ]
    },
    {
      "page": "rmarkovchain",
      "title": "Function to generate a sequence of states from homogeneous or non-homogeneous Markov chains.",
      "topics": [
        "rmarkovchain"
      ]
    },
    {
      "page": "sales",
      "title": "Sales Demand Sequences",
      "topics": [
        "sales"
      ]
    },
    {
      "page": "hommc-show",
      "title": "Function to display the details of hommc object",
      "topics": [
        "show,hommc-method"
      ]
    },
    {
      "page": "states",
      "title": "Defined states of a transition matrix",
      "topics": [
        "states",
        "states,markovchain-method"
      ]
    },
    {
      "page": "steadyStates",
      "title": "Stationary states of a 'markovchain' object",
      "topics": [
        "steadyStates"
      ]
    },
    {
      "page": "tm_abs",
      "title": "Single Year Corporate Credit Rating Transititions",
      "topics": [
        "tm_abs"
      ]
    },
    {
      "page": "transition2Generator",
      "title": "Return the generator matrix for a corresponding transition matrix",
      "topics": [
        "transition2Generator"
      ]
    },
    {
      "page": "transitionProbability",
      "title": "Function to get the transition probabilities from initial to subsequent states.",
      "topics": [
        "transitionProbability",
        "transitionProbability,markovchain-method"
      ]
    },
    {
      "page": "statisticalTests",
      "title": "Various functions to perform statistical inference of DTMC",
      "concept": [
        "statisticalTests"
      ],
      "topics": [
        "assessOrder",
        "assessStationarity",
        "verifyEmpiricalToTheoretical",
        "verifyHomogeneity",
        "verifyMarkovProperty"
      ]
    },
    {
      "page": "zeros",
      "title": "Matrix to create zeros",
      "topics": [
        "zeros"
      ]
    }
  ],
  "_readme": "https://github.com/spedygiorgio/markovchain/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "expm",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "rlang",
    "vctrs"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "an_introduction_to_markovchain_package.Rmd",
      "filename": "an_introduction_to_markovchain_package.html",
      "title": "The markovchain Package: A Package for Easily Handling Discrete Markov Chains in R",
      "author": "Giorgio Alfredo Spedicato, Tae Seung Kang, Sai Bhargav Yalamanchi, Deepak Yadav, Ignacio Cordón",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Review of core mathematical concepts",
        "General Definitions",
        "Properties and classification of states",
        "A short example",
        "The structure of the package",
        "Creating markovchain objects",
        "Handling markovchain objects",
        "Probability with markovchain objects",
        "Conditional distributions",
        "Stationary states",
        "Classification of states",
        "First passage time distributions and means",
        "Mean recurrence time",
        "Absorption probabilities and mean absorption time",
        "Committor probability",
        "Hitting probabilities",
        "Statistical analysis",
        "Simulation",
        "Estimation",
        "Prediction",
        "Predicting from a markovchain object",
        "Predicting from a markovchainList object",
        "Statistical Tests",
        "Assessing the Markov property of a Markov chain sequence",
        "Assessing the order of a Markov chain sequence",
        "Assessing the stationarity of a Markov chain sequence",
        "Divergence tests for empirically estimated transition matrices",
        "Continuous Times Markov Chains",
        "Intro",
        "Stationary Distributions",
        "Expected Hitting Time",
        "Probability at time t",
        "Examples",
        "Pseudo - Bayesian Estimation",
        "Bayesian Estimation",
        "Notation and set-up",
        "Methods",
        "Predictive distribution",
        "Choosing the hyper-parameters",
        "Usage and examples",
        "Applications",
        "Weather forecasting",
        "Land of Oz",
        "Alofi Island Rainfall",
        "Finance and Economics",
        "Finance",
        "Economics",
        "Actuarial science",
        "MPTL Bonus Malus",
        "Health insurance example",
        "Sociology",
        "Genetics and Medicine",
        "Genetics",
        "Medicine",
        "Discussion, issues and future plans",
        "Acknowledgments",
        "References"
      ],
      "created": "2018-12-31 14:31:34",
      "modified": "2024-10-07 20:21:50",
      "commits": 42
    },
    {
      "source": "gsoc_2017_additions.Rmd",
      "filename": "gsoc_2017_additions.html",
      "title": "Google Summer of Code 2017 Additions",
      "author": "Vandit Jain",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Expected Hitting Time using CTMC",
        "Calculating Probability at time T using ctmc",
        "Plotting generator matrix of continuous-time markovchains",
        "Imprecise Continuous-Time Markov chains",
        "Types of ICTMCs",
        "Lower Transition Rate Operators for ICTMCs",
        "Lower Transition Operators",
        "ImpreciseprobabilityatT function",
        "Continuous time markovchain generator using frequency Matrix",
        "Committor of a markovchain",
        "First Passage probability for set of states",
        "Joint PDF of number of visits to the various states of a markovchain",
        "Expected Rewards for a markovchain",
        "Expected Rewards for a set of states in a markovchain process",
        "Checking Irreducibly of a CTMC",
        "Simulation of Higher Order Multivariate Markovchains",
        "Check Time Reversibility of Continuous-time markovchains",
        "References"
      ],
      "created": "2019-07-21 11:44:18",
      "modified": "2024-02-25 11:17:35",
      "commits": 9
    },
    {
      "source": "higher_order_markov_chains.Rmd",
      "filename": "higher_order_markov_chains.html",
      "title": "Higher order Markov chains",
      "author": "Deepak Yadav, Tae Seung Kang, Giorgio Alfredo Spedicato",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Higher Order Markov Chains",
        "Higher Order Multivariate Markov Chains",
        "Introduction",
        "Representation of parameters in the code",
        "Definition of HOMMC class",
        "How to create an object of class HOMMC",
        "Fit HOMMC",
        "A Marketing Example",
        "References"
      ],
      "created": "2018-12-31 14:31:34",
      "modified": "2024-02-25 11:24:44",
      "commits": 17
    }
  ],
  "_score": 12.950715664997803,
  "_indexed": true,
  "_nocasepkg": "markovchain",
  "_universes": [
    "spedygiorgio"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.10.3",
      "date": "2026-05-09T09:18:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "f46f66a8e7191c81995215f8ceca0600b91eb4b8a8e0d628bebadeb97ac55a59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.10.3",
      "date": "2026-05-09T09:18:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "154e7b969a097a108d288bcccaf074ba0cff84bcea03d05979decf7ab7e1c2d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.10.3",
      "date": "2026-05-09T09:17:55.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "5f78be97dc53a71d805c0c358d4004cde2794aea728734b51cf3f2476e7c4668",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.10.3",
      "date": "2026-05-09T09:18:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "b82708f589b5e06631cd1f2605f1ce92f4c9f1634449b4620bfe8d4af4b72651",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.10.3",
      "date": "2026-05-09T09:18:04.000Z",
      "arch": "aarch64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "9352aaac86fa983a5daf10fbde08dbddd3a962793922610d9bc76d3b30689590",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.10.3",
      "date": "2026-05-09T09:18:13.000Z",
      "arch": "x86_64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "580ee4d4b8216b98dc28e9d26414a29f2d4ddc6081bc154b47751831ea868693",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.10.3",
      "date": "2026-05-09T09:19:18.000Z",
      "arch": "aarch64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "9300d2d066436ec8ffd79f7d715e0360920bb7d35207205220dc74a22005e23a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.10.3",
      "date": "2026-05-09T09:18:31.000Z",
      "arch": "x86_64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "6197a5c095eed480d117505d59d94d5def198fa593ee678070f64864e4bceae8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.10.3",
      "date": "2026-05-09T09:17:12.000Z",
      "arch": "x86_64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "302de99e0dbc31bfdbe7ea7a20de3688f6ec119257fc40e81e1b3e6a823d4365",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.10.3",
      "date": "2026-05-09T09:16:56.000Z",
      "arch": "x86_64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "f3f6cf1baf1c14c1f199f226a7daf8b995581b7ecf08f099630da713306b918c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.10.3",
      "date": "2026-05-09T09:16:49.000Z",
      "arch": "x86_64",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "da36b33046ae18a2235ae63717a90244d4a9f7961dd4669677cd16665d44f27e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.10.3",
      "date": "2026-05-22T12:57:37.000Z",
      "arch": "emscripten",
      "commit": "1ae4487e598982fd68a2ab3b292839eb40f73053",
      "fileid": "3c6846060db2fc34e60ae7ca28169e09073d0b01aa0d6c9781846c4b26524c88",
      "status": "success",
      "buildurl": "https://github.com/r-universe/spedygiorgio/actions/runs/25597326837"
    }
  ]
}