{
  "_id": "6a1bd4dd1d7bb097a0a15790",
  "Package": "bhpm",
  "Type": "Package",
  "Title": "Bayesian Hierarchical Poisson Models for Multiple Grouped\nOutcomes with Clustering",
  "Version": "1.8.1",
  "Date": "2025-09-12",
  "Authors@R": "person(given = \"Raymond\",\nfamily = \"Carragher\",\nrole = c(\"aut\", \"cre\"),\nemail = \"rcarragh@gmail.com\",\ncomment = c(ORCID = \"0000-0002-0120-625X\"))",
  "Author": "Raymond Carragher [aut, cre]\n(<https://orcid.org/0000-0002-0120-625X>)",
  "Maintainer": "Raymond Carragher <rcarragh@gmail.com>",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Description": "Bayesian hierarchical methods for the detection of\ndifferences in rates of related outcomes for multiple\ntreatments for clustered observations (Carragher et al. (2020)\n<doi:10.1002/sim.8563>). This software was developed for the\nPrecision Drug Theraputics: Risk Prediction in\nPharmacoepidemiology project as part of a Rutherford Fund\nFellowship at Health Data Research (UK), Medical Research\nCouncil (UK) award reference MR/S003967/1\n(<https://gtr.ukri.org/>). Principal Investigator: Raymond\nCarragher.",
  "License": "GPL-3",
  "URL": "https://github.com/rcarragh/bhpm",
  "BugReports": "https://github.com/rcarragh/bhpm/issues",
  "Repository": "https://rcarragh.r-universe.dev",
  "Date/Publication": "2025-10-03 19:24:28 UTC",
  "RemoteUrl": "https://github.com/rcarragh/bhpm",
  "RemoteRef": "HEAD",
  "RemoteSha": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-31 06:10:29 UTC",
    "User": "root"
  },
  "MD5sum": "a23c09b459ed5c68c9ad8c4cb33ff165",
  "_user": "rcarragh",
  "_type": "src",
  "_file": "bhpm_1.8.1.tar.gz",
  "_fileid": "5382195fc40c9358316bd15c4af92a6a7fe1d3b3e9ebaec512ddb3a2fe8d0b83",
  "_filesize": 575625,
  "_sha256": "5382195fc40c9358316bd15c4af92a6a7fe1d3b3e9ebaec512ddb3a2fe8d0b83",
  "_created": "2026-05-31T06:10:29.000Z",
  "_published": "2026-05-31T06:27:41.799Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78704594795,
      "time": 130,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7314327716"
    },
    {
      "job": 78704594801,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7314329348"
    },
    {
      "job": 78704594800,
      "time": 137,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7314328419"
    },
    {
      "job": 78704594794,
      "time": 108,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7314325535"
    },
    {
      "job": 78704594791,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7314406968"
    },
    {
      "job": 78704594804,
      "time": 380,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7314402787"
    },
    {
      "job": 78704594790,
      "time": 153,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7314386304"
    },
    {
      "job": 78704594807,
      "time": 184,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7314416275"
    },
    {
      "job": 78704410088,
      "time": 203,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314313593"
    },
    {
      "job": 78704594778,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314324502"
    },
    {
      "job": 78704594785,
      "time": 181,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7314333268"
    },
    {
      "job": 78704594798,
      "time": 156,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7314330551"
    },
    {
      "job": 78704594786,
      "time": 118,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7314326587"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rcarragh/bhpm",
  "_commit": {
    "id": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
    "author": "rcarragh <45394771+rcarragh@users.noreply.github.com>",
    "committer": "rcarragh <45394771+rcarragh@users.noreply.github.com>",
    "message": "Update README.md\n",
    "time": 1759519468
  },
  "_maintainer": {
    "name": "Raymond Carragher",
    "email": "rcarragh@gmail.com",
    "login": "rcarragh",
    "description": "",
    "uuid": 45394771,
    "orcid": "0000-0002-0120-625X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "coda",
      "version": ">= 0.19",
      "role": "Depends"
    }
  ],
  "_owner": "rcarragh",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "1.8.1",
      "date": "2025-09-14"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "rcarragh",
      "count": 14,
      "uuid": 45394771
    }
  ],
  "_userbio": {
    "uuid": 45394771,
    "type": "user",
    "name": "rcarragh"
  },
  "_downloads": {
    "count": 168,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bhpm"
  },
  "_devurl": "https://github.com/rcarragh/bhpm",
  "_searchresults": 18,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bhpm.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rcarragh/bhpm",
  "_realowner": "rcarragh",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.7",
      "date": "2020-04-01"
    },
    {
      "version": "1.8.1",
      "date": "2025-09-29"
    }
  ],
  "_exports": [
    "bhpm.cluster.1a.hier2",
    "bhpm.cluster.1a.hier3",
    "bhpm.cluster.BB.hier2",
    "bhpm.cluster.BB.hier3",
    "bhpm.convergence.diag",
    "bhpm.gen.initial.values",
    "bhpm.global.sim.param.defaults",
    "bhpm.hyper.param.defaults",
    "bhpm.monitor.defaults",
    "bhpm.monitor.samples",
    "bhpm.npm",
    "bhpm.pm",
    "bhpm.pointmass.weights",
    "bhpm.print.convergence.summary",
    "bhpm.print.summary.stats",
    "bhpm.ptheta",
    "bhpm.sim.control.params",
    "bhpm.summary.stats"
  ],
  "_datasets": [
    {
      "name": "bhpm.cluster.data1",
      "title": "Cluster analysis data.",
      "object": "bhpm.cluster.data1",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Cluster",
        "Outcome.Grp",
        "Outcome",
        "Trt.Grp",
        "Count",
        "Exposure"
      ],
      "rows": 1860,
      "table": true,
      "tojson": true
    },
    {
      "name": "bhpm.cluster.data2",
      "title": "Cluster analysis data.",
      "object": "bhpm.cluster.data2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Cluster",
        "Outcome.Grp",
        "Outcome",
        "Trt.Grp",
        "Count",
        "Exposure"
      ],
      "rows": 3100,
      "table": true,
      "tojson": true
    },
    {
      "name": "bhpm.multi.treatments",
      "title": "Cluster analysis data.",
      "object": "bhpm.multi.treatments",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Cluster",
        "Outcome.Grp",
        "Outcome",
        "Trt.Grp",
        "Count",
        "Exposure"
      ],
      "rows": 3720,
      "table": true,
      "tojson": true
    },
    {
      "name": "bhpm.multi.treatments.random.order",
      "title": "Cluster analysis data.",
      "object": "bhpm.multi.treatments.random.order",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Cluster",
        "Outcome.Grp",
        "Outcome",
        "Trt.Grp",
        "Count",
        "Exposure"
      ],
      "rows": 3720,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo.cluster.data",
      "title": "Cluster analysis data.",
      "object": "demo.cluster.data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Cluster",
        "Trt.Grp",
        "Outcome.Grp",
        "Outcome",
        "Exposure",
        "Count"
      ],
      "rows": 108,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bhpm.Package",
      "title": "Bayesian Hierarchical Possion Models for Mulitple Grouped Outcomes with Clustering",
      "topics": [
        "bhpm-package"
      ]
    },
    {
      "page": "bhpm.cluster.1a.hier2",
      "title": "A Two-Level Hierarchical Model for Grouped Data with Clusters and without Point-Mass.",
      "topics": [
        "bhpm.cluster.1a.hier2"
      ]
    },
    {
      "page": "bhpm.cluster.1a.hier3",
      "title": "A Three-Level Hierarchical Model for Grouped Data with Clusters and without Point-Mass.",
      "topics": [
        "bhpm.cluster.1a.hier3"
      ]
    },
    {
      "page": "bhpm.cluster.BB.hier2",
      "title": "A Two-Level Hierarchical Model for grouped data and clusters with Point-Mass.",
      "topics": [
        "bhpm.cluster.BB.hier2"
      ]
    },
    {
      "page": "bhpm.cluster.BB.hier3",
      "title": "A Three-Level Hierarchical Model for grouped data and clusters with Point-Mass.",
      "topics": [
        "bhpm.cluster.BB.hier3"
      ]
    },
    {
      "page": "bhpm.cluster.data1",
      "title": "Cluster analysis data.",
      "topics": [
        "bhpm.cluster.data1"
      ]
    },
    {
      "page": "bhpm.cluster.data2",
      "title": "Cluster analysis data.",
      "topics": [
        "bhpm.cluster.data2"
      ]
    },
    {
      "page": "bhpm.convergence.diag",
      "title": "Convergence Diagnostics of the Simulation",
      "topics": [
        "bhpm.convergence.diag"
      ]
    },
    {
      "page": "bhpm.gen.initial.values",
      "title": "Generate a template simulation initial values.",
      "topics": [
        "bhpm.gen.initial.values"
      ]
    },
    {
      "page": "bhpm.global.sim.param.defaults",
      "title": "Generate default global simulation parameters for a model.",
      "topics": [
        "bhpm.global.sim.param.defaults"
      ]
    },
    {
      "page": "bhpm.hyper.params.defaults",
      "title": "Generate default hyperparameter values for a model.",
      "topics": [
        "bhpm.hyper.param.defaults"
      ]
    },
    {
      "page": "bhpm.monitor.defaults",
      "title": "Generate default variable monitor list for a model.",
      "topics": [
        "bhpm.monitor.defaults"
      ]
    },
    {
      "page": "bhpm.monitor.samples",
      "title": "Generate a template for choosing which samples to monitor.",
      "topics": [
        "bhpm.monitor.samples"
      ]
    },
    {
      "page": "bhpm.multi.treatments",
      "title": "Cluster analysis data.",
      "topics": [
        "bhpm.multi.treatments"
      ]
    },
    {
      "page": "bhpm.multi.treatments.random.order",
      "title": "Cluster analysis data.",
      "topics": [
        "bhpm.multi.treatments.random.order"
      ]
    },
    {
      "page": "bhpm.npm",
      "title": "Fit a Bayesian Hierarchical Model for Grouped Data with Clusters and without Point-Mass.",
      "topics": [
        "bhpm.npm"
      ]
    },
    {
      "page": "bhpm.pm",
      "title": "A Bayesian Hierarchical Model for grouped data and clusters with Point-Mass.",
      "topics": [
        "bhpm.pm"
      ]
    },
    {
      "page": "bhpm.pointmass.weights",
      "title": "Generate a template for the point-mass weightings.",
      "topics": [
        "bhpm.pointmass.weights"
      ]
    },
    {
      "page": "bhpm.print.convergence.summary",
      "title": "Print a Summary of the Convergence Diagnostics of the Simulation",
      "topics": [
        "bhpm.print.convergence.summary"
      ]
    },
    {
      "page": "bhpm.print.summary.stats",
      "title": "Print the Summary Statistics of Posterior Distributions",
      "topics": [
        "bhpm.print.summary.stats"
      ]
    },
    {
      "page": "bhpm.ptheta",
      "title": "Reports the posterior probability that theta (the increase in the log-odds) is greater than zero, zero, and less than zero for each outcome",
      "topics": [
        "bhpm.ptheta"
      ]
    },
    {
      "page": "bhpm.sim.control.params",
      "title": "Generate a template for the individual model parameter simulation control parameters.",
      "topics": [
        "bhpm.sim.control.params"
      ]
    },
    {
      "page": "bhpm.summary.stats",
      "title": "Summary Statistics for the Posterior Distributions in the model.",
      "topics": [
        "bhpm.summary.stats"
      ]
    },
    {
      "page": "demo.cluster.data",
      "title": "Cluster analysis data.",
      "topics": [
        "demo.cluster.data"
      ]
    }
  ],
  "_readme": "https://github.com/rcarragh/bhpm/raw/HEAD/README.md",
  "_rundeps": [
    "coda",
    "lattice"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_score": 3.5563025007672873,
  "_indexed": true,
  "_nocasepkg": "bhpm",
  "_universes": [
    "rcarragh"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.8.1",
      "date": "2026-05-31T06:12:33.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "56e410feced386aaa8cf9dddb4f511da9d1ab6575df261dd9402f79bfe11e6cc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.8.1",
      "date": "2026-05-31T06:12:34.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "8bc1bd9eec6ff982932047b0578cfd6fe61f78acb50e10047fd25afef04791d3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.8.1",
      "date": "2026-05-31T06:12:39.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "b96bc3d9fd0cc1042b4d4ef3c8c54514b796d7a7fa1ea4c2743c02f3fff45f1e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.8.1",
      "date": "2026-05-31T06:12:23.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "446f520cdbce72694a8bd06d70a1dd8e11904d0b440c4ce744342387c9a9b1ca",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.8.1",
      "date": "2026-05-31T06:25:13.000Z",
      "arch": "aarch64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "846e3bde6db1613ef35b27681ec398bc9f8141edc2b68544cb21bcde4146f916",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.8.1",
      "date": "2026-05-31T06:23:56.000Z",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "049ad3eb970fce0a5149ad379f1f8156dc058ffa8c2e73dcd9c7d1c1f53bd57c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.8.1",
      "date": "2026-05-31T06:22:14.000Z",
      "arch": "aarch64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "b222d51a2b2675ec92fcd278320a8113a4053ac0bfee8b3c15ed920fa7571311",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.8.1",
      "date": "2026-05-31T06:26:24.000Z",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "018fcb712245e8961ee62ec77835a65e18286c43435b83e22cadb732169a9fd9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.8.1",
      "date": "2026-05-31T06:12:38.000Z",
      "arch": "emscripten",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "ffb230a7cce15dd0a2ebf8c370a2a73f9d89898a4709da1c560fa700e61a6848",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-05-31T06:12:44.000Z",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "0102cff2abf8c1d039023eef81a19ec4b89039a5644f079ab8eecf6723f6abd2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-05-31T06:11:56.000Z",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "4e76ff4c2422479a96068eb96e2cb85461a1da1cc4055e85fb28c52201a02b62",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-05-31T06:11:48.000Z",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "816bf422d30648b93cd031eec3c47f356953f50ebed8e4f025d0a640347eb3ee",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/26704990805"
    }
  ]
}