{
  "_id": "6ad1c44029625c14e47ae71f",
  "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-10-16 06:20:42 UTC",
    "User": "root"
  },
  "_user": "rcarragh",
  "_type": "src",
  "_file": "bhpm_1.8.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/857462f5414efa64d75262b974a53dc375ef739036897a814b4dd7ae214df635",
  "_filesize": 574074,
  "_sha256": "857462f5414efa64d75262b974a53dc375ef739036897a814b4dd7ae214df635",
  "_expires": "2027-01-24T06:29:18.000Z",
  "_created": "2026-10-16T06:20:42.000Z",
  "_published": "2026-10-16T06:29:20.342Z",
  "_buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116842174724,
      "time": 123,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12029177733"
    },
    {
      "job": 116842174695,
      "time": 110,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12028194094"
    },
    {
      "job": 116842174585,
      "time": 105,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12028729541"
    },
    {
      "job": 116842174643,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12028084554"
    },
    {
      "job": 116842174648,
      "time": 228,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12028829450"
    },
    {
      "job": 116842174598,
      "time": 346,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12028294539"
    },
    {
      "job": 116842174591,
      "time": 207,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12028923798"
    },
    {
      "job": 116842174678,
      "time": 410,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12029336237"
    },
    {
      "job": 116841365873,
      "time": 164,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12028714262"
    },
    {
      "job": 116842174616,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12029261095"
    },
    {
      "job": 116842174708,
      "time": 356,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12028834717"
    },
    {
      "job": 116842174706,
      "time": 161,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12028329097"
    },
    {
      "job": 116842174733,
      "time": 86,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12028209129"
    },
    {
      "job": 116842174721,
      "time": 385,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12028234707"
    },
    {
      "job": 116842174620,
      "time": 131,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12029435112"
    }
  ],
  "_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"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "coda",
      "version": ">= 0.19",
      "role": "Depends"
    }
  ],
  "_owner": "rcarragh",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "rcarragh",
      "count": 14,
      "uuid": 45394771
    }
  ],
  "_userbio": {
    "uuid": 45394771,
    "type": "user",
    "name": "rcarragh",
    "followers": 1
  },
  "_downloads": {
    "count": 297,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bhpm"
  },
  "_devurl": "https://github.com/rcarragh/bhpm",
  "_searchresults": 18,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/bhpm.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3.255272505103306,
  "_indexed": true,
  "_nocasepkg": "bhpm",
  "_universes": [
    "rcarragh"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.8.1",
      "date": "2026-10-16T06:22:35.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/62a3bc0fa176a6cd2366ee2d1bc680a60f3e5e506903887a6def6abdc13a2223",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.8.1",
      "date": "2026-10-16T06:22:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/8cd03efb3c21e929ac87d45f71b94291fac6c3abf1ca16588d4eee357dbd8686",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.8.1",
      "date": "2026-10-16T06:22:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/bb17a0b6778d2bb2b1ecc820f8c0445161e00a3a6555fc8a5bb23f7c8081a0eb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.8.1",
      "date": "2026-10-16T06:22:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/b891cd523a61eb325dcfa26cef42a7d87ed4d730537152802dfc086456fd8a17",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.8.1",
      "date": "2026-10-16T06:24:29.000Z",
      "arch": "aarch64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/8d503f96ba779b47c56f85b295a0e106160ea55c9815c8cff8e9b7bdabb97b55",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.8.1",
      "date": "2026-10-16T06:25:40.000Z",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/10b515a131f6ec7d025ef9e7d2977e9d878c6ec6d534b0d8aacdfec2292743a6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.8.1",
      "date": "2026-10-16T06:24:28.000Z",
      "arch": "aarch64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/f59308e2a44be900f10487ce7cdb145bd6c62f7da058339ee24edd2f800092ec",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.8.1",
      "date": "2026-10-16T06:26:23.000Z",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/c0e646666661ad454446caff76ca515a68d0097aafb364dce33c89aa5388a282",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.8.1",
      "date": "2026-10-16T06:22:47.000Z",
      "arch": "emscripten",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/187559cb4e772e1d777be2a69334dd7c4f5f32a575de3d2a99106531f1b25ffe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-10-16T06:25:41.000Z",
      "arch": "aarch64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/51bedf66234f3bede676f7127c5174cbfa15d1aabda8766c9a6bb8b32358dd0c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-10-16T06:22:01.000Z",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/684aa5eb071ccb0ebcec105a42404cfe90f233e78857da665824697952c0c73a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-10-16T06:21:58.000Z",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/4b7a9e6fa098cbb9c8e74f3b188c9d26877f9e9f965f1913cdd4e09e82ba1cf2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-10-16T06:26:20.000Z",
      "arch": "aarch64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/744124994944308baa737951850c97c3c1d0bba1c173520c3928fe18a283ce63",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.8.1",
      "date": "2026-10-16T06:22:02.000Z",
      "arch": "x86_64",
      "commit": "7dee63cc768d03ef87c8b21101c2c7744995cd99",
      "fileid": "https://r2.ropensci.org/78667077145203a41920e549d57f5379802373cf1eb36566a7ee25c0d65fe12b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rcarragh/actions/runs/38860444878"
    }
  ]
}