{
  "_id": "6a22a9380ef520ea2f58af88",
  "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-06-05 10:43:48 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": "614e482659fff98ce6654368b261c364",
  "_user": "andrewtitman",
  "_type": "src",
  "_file": "nhm_0.1.2.tar.gz",
  "_fileid": "1240cfd84d2f01a00b12e14cda872f7300f89b213c107731ffa2873f20f5cec8",
  "_filesize": 645875,
  "_sha256": "1240cfd84d2f01a00b12e14cda872f7300f89b213c107731ffa2873f20f5cec8",
  "_created": "2026-06-05T10:43:48.000Z",
  "_published": "2026-06-05T10:47:20.566Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79712097916,
      "time": 154,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434718506"
    },
    {
      "job": 79712097921,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434709631"
    },
    {
      "job": 79712097909,
      "time": 162,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434720663"
    },
    {
      "job": 79712097934,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434707379"
    },
    {
      "job": 79712097914,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434700490"
    },
    {
      "job": 79712097902,
      "time": 181,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434725016"
    },
    {
      "job": 79712097941,
      "time": 122,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434708722"
    },
    {
      "job": 79712097924,
      "time": 160,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434719598"
    },
    {
      "job": 79711665052,
      "time": 185,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434674840"
    },
    {
      "job": 79712097896,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434700528"
    },
    {
      "job": 79712097929,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434709920"
    },
    {
      "job": 79712097923,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434700213"
    },
    {
      "job": 79712097898,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434701824"
    }
  ],
  "_buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497",
  "_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": 171,
    "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-06-05T10:46:21.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "23089a3c6e1cbe78f0df8c7425888395fcfc413fde8ae3f3a23d5ea85063c251",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-05T10:45:44.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "62c6e7a3e7c5d4faa775ef0487b8ad7dc1621ee2d34ba22a09722d9be4295025",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-05T10:46:26.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "523ff8914dce3ce1c7ae532e8c26be65b9af60ebcc12a43677a953cfaedc176f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-05T10:45:38.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "7eb0345cb5e25a668b43c0a287eee1b009725f4a8a1dca3fdf6284aa0c8086f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-05T10:45:19.000Z",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "5d78dc3d16ba182bc1458bb505293e9e3a178c6216318209038f9b5a965044a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-05T10:46:24.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "760ee313891a27dd90ae45d489b68887cc6a8be5c57b6ecd6ab07dd6188a4250",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-05T10:45:42.000Z",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "42cfb1cb5016ca9e59748b069325e0d7c7dded37f577cff0c4360cc91f11edc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-05T10:46:11.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "bd88ffef6885fcac46dd2db376c4e108519c1c9b04d3ffa67656283c6a47e461",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-05T10:45:36.000Z",
      "arch": "emscripten",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "24d9eb8226ddcf6553d31b3d3c7d11210116c63aed636ea6ccccc92255284606",
      "status": "success",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-05T10:45:29.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "093cf20cefe713f5de2398c057459ea2c2149b6536cb638acfcc30f4eb51f5fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-05T10:44:56.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "13f2273aaaeff5a357c1dcbe7ef56184560a701d9b216207fa5475d986649be3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-05T10:44:54.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "01c785fcb3347175e2bcba197d13d79247e1fb740d7728eb094723e22fe5aa6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/27010193497"
    }
  ]
}