{
  "_id": "6ac0c7e291601a2ad2998c50",
  "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-10-03 09:09:41 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",
  "_user": "andrewtitman",
  "_type": "src",
  "_file": "nhm_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/f219a6262dcc07c70547a0b6160eff8ca8359808a5bbb7634e4229d6134106ba",
  "_filesize": 646060,
  "_sha256": "f219a6262dcc07c70547a0b6160eff8ca8359808a5bbb7634e4229d6134106ba",
  "_expires": "2027-01-11T09:16:16.000Z",
  "_created": "2026-10-03T09:09:41.000Z",
  "_published": "2026-10-03T09:16:18.457Z",
  "_jobs": [
    {
      "job": 111171936106,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11270550099"
    },
    {
      "job": 111171936066,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11269269890"
    },
    {
      "job": 111171936108,
      "time": 103,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269864288"
    },
    {
      "job": 111171936086,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269779198"
    },
    {
      "job": 111171936078,
      "time": 199,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11270555171"
    },
    {
      "job": 111171936029,
      "time": 284,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11269999179"
    },
    {
      "job": 111171936077,
      "time": 181,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269159906"
    },
    {
      "job": 111171936031,
      "time": 317,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269789714"
    },
    {
      "job": 111171438258,
      "time": 183,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269319612"
    },
    {
      "job": 111171935988,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11269694626"
    },
    {
      "job": 111171936137,
      "time": 337,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11270099103"
    },
    {
      "job": 111171936136,
      "time": 115,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11270300203"
    },
    {
      "job": 111171936111,
      "time": 89,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11270260276"
    },
    {
      "job": 111171936099,
      "time": 346,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11270775054"
    },
    {
      "job": 111171936103,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269299686"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "andrewtitman",
      "count": 3,
      "uuid": 54114473
    }
  ],
  "_userbio": {
    "uuid": 54114473,
    "type": "user",
    "name": "andrewtitman",
    "followers": 2
  },
  "_downloads": {
    "count": 303,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nhm"
  },
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/nhm.html"
  ],
  "_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-10-03T09:12:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/da2ee0efddea414fbf62779621e133e3788dfe1238b3f90ba4c16c59acc2e4eb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-03T09:12:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/bff25ddbf29c6847a843a01bf2d359aab963fd51466068ad1226313060aff362",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-03T09:11:35.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/ccc09d5453b71b6dd55759f801f0314ae349c42bb966e6dc6c2080eff51d5696",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-03T09:11:32.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/eeb6e85b1e1bb9538ef55ad161e7114eac98b47192e11b1480d7baed9927b3f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-03T09:12:26.000Z",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/ccf27c04cf61870f4ec3f8b472cfcc492420ced790afc4edee43f461b4866b27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-03T09:13:51.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/f6ce4ca8b717272d23d5b515bd25d7176e2542930ab8bed3210e5fa8b06aea56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-03T09:12:14.000Z",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/02354f64e65b0a1e5906a3085d1cd319b807b63cab8a8b6bacda6a0095d2cfcd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-03T09:14:06.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/3d3bf11e09533912d34b76d0a61f81582f582a9382cf4f18cc68fd9e5a5aae74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-10-03T09:11:40.000Z",
      "arch": "emscripten",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/dbfd03d3e92bac06666c2a4cfdb5c3b3a4ccb2cc4fc86cf41536651b3775dac7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-03T09:14:47.000Z",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/f93c929b7923d27e0ccd2acf6b645d072c59928385e6aa32c4b9121279d53dae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-03T09:10:47.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/7a75738ce546273cd5180cd5cdf8390815bd4badfc8611c3dc0032585c5abfa2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-03T09:10:56.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/7fc9ed59964421318bdaf77fdd6dcc9e8a52db9b4879e70405d80cc501f89e56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-03T09:14:48.000Z",
      "arch": "aarch64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/c2f6da88481b165bbf7afb384344025a0fd5be8ed04efd3c31e455724e95a0a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-03T09:10:52.000Z",
      "arch": "x86_64",
      "commit": "9cfd036b39e890103950b1d7af6a23d92f9929d7",
      "fileid": "https://r2.ropensci.org/6d1d49fa534790232153c3aad515dc481c4dce076d2f6cd669c48ff2490b4f28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewtitman/actions/runs/37111939095"
    }
  ]
}