{
  "_id": "6a1a74f81d7bb097a09d1b56",
  "Package": "nhm",
  "Type": "Package",
  "Title": "Non-Homogeneous Markov and Hidden Markov Multistate Models",
  "Version": "0.1.2",
  "Authors@R": "person(\"Andrew\", \"Titman\", role=c(\"aut\", \"cre\"),\nemail = \"a.titman@lancaster.ac.uk\")",
  "Maintainer": "Andrew Titman <a.titman@lancaster.ac.uk>",
  "Description": "Fits non-homogeneous Markov multistate models and\nmisclassification-type hidden Markov models in continuous time\nto intermittently observed data. Implements the methods in\nTitman (2011) <doi:10.1111/j.1541-0420.2010.01550.x>. Uses\ndirect numerical solution of the Kolmogorov forward equations\nto calculate the transition probabilities.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "R.rsp",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-29 09:51:44 UTC",
    "User": "root"
  },
  "Author": "Andrew Titman [aut, cre]",
  "Repository": "https://andrewtitman.r-universe.dev",
  "Date/Publication": "2025-08-31 21:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/nhm",
  "RemoteRef": "HEAD",
  "RemoteSha": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
  "MD5sum": "3d3149bc00e838da7147ecebf70f2f1e",
  "_user": "andrewtitman",
  "_type": "src",
  "_file": "nhm_0.1.2.tar.gz",
  "_fileid": "bbfd03055c04075b40ce3c73c78ef118d6ed5fc616fe49d0c3c6cf471afe550f",
  "_filesize": 645430,
  "_sha256": "bbfd03055c04075b40ce3c73c78ef118d6ed5fc616fe49d0c3c6cf471afe550f",
  "_created": "2026-05-29T09:51:44.000Z",
  "_published": "2026-05-30T05:26:16.850Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78626321033,
      "time": 121,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7287974370"
    },
    {
      "job": 78626321147,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7287975908"
    },
    {
      "job": 78626321138,
      "time": 114,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287972259"
    },
    {
      "job": 78626321220,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287973096"
    },
    {
      "job": 78626321237,
      "time": 128,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7289526587"
    },
    {
      "job": 78626321233,
      "time": 284,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7288135425"
    },
    {
      "job": 78626321223,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289470792"
    },
    {
      "job": 78626320999,
      "time": 261,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7305671255"
    },
    {
      "job": 78626321045,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287936420"
    },
    {
      "job": 78626321091,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287965903"
    },
    {
      "job": 78626321038,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7287967164"
    },
    {
      "job": 78626321140,
      "time": 128,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7287976325"
    },
    {
      "job": 78626320963,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7305634807"
    }
  ],
  "_buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/nhm",
  "_commit": {
    "id": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
    "author": "Andrew Titman <a.titman@lancaster.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.2\n",
    "time": 1756675802
  },
  "_maintainer": {
    "name": "Andrew Titman",
    "email": "a.titman@lancaster.ac.uk",
    "login": "andrewtitman",
    "description": "",
    "uuid": 54114473
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "deSolve",
      "role": "Imports"
    },
    {
      "package": "maxLik",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "msm",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "splines",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.2",
      "date": "2025-08-31"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "andrewtitman",
      "count": 3,
      "uuid": 54114473
    }
  ],
  "_userbio": {
    "uuid": 54114473,
    "type": "user",
    "name": "andrewtitman"
  },
  "_downloads": {
    "count": 178,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nhm"
  },
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/nhm.html",
    "manual.pdf"
  ],
  "_realowner": "andrewtitman",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-10-11"
    },
    {
      "version": "0.1.1",
      "date": "2023-11-02"
    },
    {
      "version": "0.1.2",
      "date": "2025-08-31"
    }
  ],
  "_exports": [
    "ematrix.nhm",
    "expected_hitting_time",
    "initialprob.nhm",
    "model.nhm",
    "nhm",
    "nhm.control",
    "qmatrix.nhm",
    "state_life_expectancy",
    "state_occupation_probability.nhm"
  ],
  "_datasets": [
    {
      "name": "example_data1",
      "title": "Example of data on a progressive 4 state process",
      "object": "example_data1",
      "class": [
        "data.frame"
      ],
      "fields": [
        "state",
        "time",
        "id",
        "cov1",
        "cov2"
      ],
      "rows": 3861,
      "table": true,
      "tojson": true
    },
    {
      "name": "example_data2",
      "title": "Example of data on a progressive 4 state process with state misclassification",
      "object": "example_data2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "state",
        "time",
        "id",
        "cov1",
        "cov2"
      ],
      "rows": 3864,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ematrix.nhm",
      "title": "Compute the misclassification probability matrix from a fitted nhm model",
      "topics": [
        "ematrix.nhm"
      ]
    },
    {
      "page": "example_data1",
      "title": "Example of data on a progressive 4 state process",
      "topics": [
        "example_data1"
      ]
    },
    {
      "page": "example_data2",
      "title": "Example of data on a progressive 4 state process with state misclassification",
      "topics": [
        "example_data2"
      ]
    },
    {
      "page": "expected_hitting_time",
      "title": "Compute the estimated hitting time for a state of a progressive multi-state model.",
      "topics": [
        "expected_hitting_time"
      ]
    },
    {
      "page": "initialprob.nhm",
      "title": "Compute the initial probability vector from a fitted nhm model",
      "topics": [
        "initialprob.nhm"
      ]
    },
    {
      "page": "model.nhm",
      "title": "Model object set up for non-homogeneous Markov models",
      "topics": [
        "model.nhm"
      ]
    },
    {
      "page": "nhm",
      "title": "Fit a non-homogeneous Markov model using maximum likelihood",
      "topics": [
        "nhm"
      ]
    },
    {
      "page": "nhm.control",
      "title": "Ancillary arguments for controlling nhm fits",
      "topics": [
        "nhm.control"
      ]
    },
    {
      "page": "plot.nhm",
      "title": "Plot transition probabilities, intensities or state occupation probabilities from a fitted nhm model.",
      "topics": [
        "plot.nhm"
      ]
    },
    {
      "page": "predict.nhm",
      "title": "Compute transition probabilities from a fitted nhm model",
      "topics": [
        "predict.nhm"
      ]
    },
    {
      "page": "print.nhm_score",
      "title": "Print output from a score test of a nhm object",
      "topics": [
        "print.nhm_score"
      ]
    },
    {
      "page": "qmatrix.nhm",
      "title": "Compute transition intensities from a fitted nhm model",
      "topics": [
        "qmatrix.nhm"
      ]
    },
    {
      "page": "state_life_expectancy",
      "title": "State-specific life expectancies and quality-adjusted life years",
      "topics": [
        "state_life_expectancy"
      ]
    },
    {
      "page": "state_occupation_probability.nhm",
      "title": "Compute state occupation probabilities from a fitted nhm model",
      "topics": [
        "state_occupation_probability.nhm"
      ]
    }
  ],
  "_rundeps": [
    "deSolve",
    "digest",
    "generics",
    "lattice",
    "maxLik",
    "miscTools",
    "mvtnorm",
    "sandwich",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "nhm-manual.tex",
      "filename": "nhm-manual.pdf",
      "title": "User guide to nhm",
      "engine": "R.rsp::tex",
      "headings": [],
      "created": "2023-11-02 22:30:49",
      "modified": "2025-08-31 21:30:02",
      "commits": 2
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "nhm",
  "_universes": [
    "andrewtitman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-29T09:53:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "3c1067e961d5cbc05725c94743684cf410e89e5ed795f5f0645369725a9acfd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-29T09:53:44.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "fe78ebfbc5ead92e2dc605ea1618679da1f33cfe17f8762042c235e61116e0c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-29T09:53:35.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "940c2bdb78b81dff92a70133af7830ac2f3050d66f6725fa45572f965e0b3c84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-29T09:53:35.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "39ea82f051a2819a9701a852fa11f805210d7feca46fce79504e7901899ce6cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-29T11:24:16.000Z",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "72aa36d603d280eed8149b630d92239ffbee4a92c62c57b77feeb660f6d81922",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-29T10:02:17.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "4cb05fa5a3198e829696768eb687b9f5524eed88a202cdaf3e5e5c9bd34a8c33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-29T11:21:09.000Z",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "ee583303e98d0313eb2c908af15ad6b5654932f9ed8e08e33c1e596909cd487d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-30T05:24:46.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "07bfadc07c5b1d004ca46902a0e8b022131b8748592155b53c25c659240a406f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-05-29T09:53:35.000Z",
      "arch": "emscripten",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "52b13b22e03eb8aabdd7f3ee8109d202ac640c61104cc2b73f0e761270e1f796",
      "status": "success",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-29T09:53:03.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "b9b3988703d2bfd70786dfa7fcdb6d2f1b9059e5d131b190fbb69d0fc48aa3ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-29T09:53:10.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "70d97def44fe9f53feec19f456ca57c9939cf09f250dc7cde61dfc0d1fcb063c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-30T05:19:33.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "98ffadc5ad2e3368a5e7e6beacaa94a1f3e0ec42175b007a82381b02fb5fffc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/26630406333"
    }
  ]
}