{
  "_id": "6a1157f6acfb0bcc41ceb8f7",
  "Package": "bnma",
  "Type": "Package",
  "Title": "Bayesian Network Meta-Analysis using 'JAGS'",
  "Version": "1.6.1",
  "Date": "2025-07-27",
  "Authors@R": "c( \nperson(\"Michael\", \"Seo\", email = \"swj8874@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Christopher\", \"Schmid\", email = \"christopher_schmid@brown.edu\", role = \"aut\"))",
  "Description": "Network meta-analyses using Bayesian framework following\nDias et al. (2013) <DOI:10.1177/0272989X12458724>. Based on the\ndata input, creates prior, model file, and initial values\nneeded to run models in 'rjags'. Able to handle binomial,\nnormal and multinomial arm-level data. Can handle multi-arm\ntrials and includes methods to incorporate covariate and\nbaseline risk effects. Includes standard diagnostics and\nvisualization tools to evaluate the results.",
  "License": "GPL-3",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libglpk-dev jags libxml2-dev",
  "Repository": "https://mikejseo.r-universe.dev",
  "Date/Publication": "2025-07-27 20:06:02 UTC",
  "RemoteUrl": "https://github.com/mikejseo/bnma",
  "RemoteRef": "HEAD",
  "RemoteSha": "c7c327e2579c46a05c76d6463d6a990eee3fdbe5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 07:29:07 UTC",
    "User": "root"
  },
  "Author": "Michael Seo [aut, cre],\nChristopher Schmid [aut]",
  "Maintainer": "Michael Seo <swj8874@gmail.com>",
  "MD5sum": "d9d2a1a7f9552599bb5e28b31a7accb8",
  "_user": "mikejseo",
  "_type": "src",
  "_file": "bnma_1.6.1.tar.gz",
  "_fileid": "29870fd0a39fd133b20c3f4c7ebab73ec07a7c5739fcef5e34c5c2ad7982005f",
  "_filesize": 520409,
  "_sha256": "29870fd0a39fd133b20c3f4c7ebab73ec07a7c5739fcef5e34c5c2ad7982005f",
  "_created": "2026-05-23T07:29:07.000Z",
  "_published": "2026-05-23T07:32:06.202Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77506357114,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175318308"
    },
    {
      "job": 77506357118,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175318387"
    },
    {
      "job": 77506357123,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175313757"
    },
    {
      "job": 77506357132,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175314858"
    },
    {
      "job": 77506104574,
      "time": 309,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175305135"
    },
    {
      "job": 77506357116,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175315331"
    },
    {
      "job": 77506357150,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175314708"
    },
    {
      "job": 77506357127,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175313799"
    },
    {
      "job": 77506357122,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175314486"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mikejseo/actions/runs/26326860605",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mikejseo/bnma",
  "_commit": {
    "id": "c7c327e2579c46a05c76d6463d6a990eee3fdbe5",
    "author": "Michael Seo <swj8874@gmail.com>",
    "committer": "Michael Seo <swj8874@gmail.com>",
    "message": "rev\n",
    "time": 1753646762
  },
  "_maintainer": {
    "name": "Michael Seo",
    "email": "swj8874@gmail.com",
    "login": "mikejseo",
    "description": "",
    "uuid": 9222274
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "rjags",
      "version": ">= 4-6",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "coda",
      "version": ">= 0.13",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "mikejseo",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "mikejseo",
      "count": 339,
      "uuid": 9222274
    }
  ],
  "_userbio": {
    "uuid": 9222274,
    "type": "user",
    "name": "Michael Seo"
  },
  "_downloads": {
    "count": 394,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bnma"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/mikejseo/bnma",
  "_searchresults": 7,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bnma.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mikejseo/bnma",
  "_realowner": "mikejseo",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2019-12-10"
    },
    {
      "version": "1.1.0",
      "date": "2020-04-20"
    },
    {
      "version": "1.1.1",
      "date": "2020-04-22"
    },
    {
      "version": "1.1.2",
      "date": "2020-04-27"
    },
    {
      "version": "1.2.0",
      "date": "2020-07-06"
    },
    {
      "version": "1.3.0",
      "date": "2020-08-27"
    },
    {
      "version": "1.4.0",
      "date": "2021-01-13"
    },
    {
      "version": "1.5.0",
      "date": "2022-01-03"
    },
    {
      "version": "1.5.1",
      "date": "2023-08-15"
    },
    {
      "version": "1.6.0",
      "date": "2024-02-11"
    },
    {
      "version": "1.6.1",
      "date": "2025-08-01"
    }
  ],
  "_exports": [
    "calculate.contrast.deviance",
    "calculate.deviance",
    "contrast.network.data",
    "contrast.network.deviance.plot",
    "contrast.network.leverage.plot",
    "contrast.network.run",
    "draw.network.graph",
    "network.autocorr.diag",
    "network.autocorr.plot",
    "network.covariate.plot",
    "network.cumrank.tx.plot",
    "network.data",
    "network.deviance.plot",
    "network.forest.plot",
    "network.gelman.diag",
    "network.gelman.plot",
    "network.inconsistency.plot",
    "network.leverage.plot",
    "network.rank.tx.plot",
    "network.run",
    "nodesplit.network.data",
    "nodesplit.network.run",
    "rank.tx",
    "relative.effects",
    "relative.effects.table",
    "sucra",
    "ume.network.data",
    "ume.network.run",
    "variance.tx.effects"
  ],
  "_datasets": [
    {
      "name": "blocker",
      "title": "Beta blockers to prevent mortality after myocardial infarction",
      "object": "blocker",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "cardiovascular",
      "title": "Trials of low dose and high dose statins for cardiovascular disease vs. placebo",
      "object": "cardiovascular",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "certolizumab",
      "title": "Trials of certolizumab pegol (CZP) for the treatment of rheumatoid arthritis in patients",
      "object": "certolizumab",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "parkinsons",
      "title": "Dopamine agonists as adjunct therapy in Parkinson's disease",
      "object": "parkinsons",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "parkinsons_contrast",
      "title": "Dopamine agonists as adjunct therapy in Parkinson's disease",
      "object": "parkinsons_contrast",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "smoking",
      "title": "Smoking cessation counseling programs",
      "object": "smoking",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "statins",
      "title": "Trials of statins for cholesterol lowering vs. placebo or usual care",
      "object": "statins",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "thrombolytic",
      "title": "Thrombolytic drugs and percutaneous transluminal coronary angioplasty",
      "object": "thrombolytic",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bnma-package",
      "title": "bnma: A package for network meta analysis using Bayesian methods",
      "topics": [
        "bnma-package"
      ]
    },
    {
      "page": "blocker",
      "title": "Beta blockers to prevent mortality after myocardial infarction",
      "topics": [
        "blocker"
      ]
    },
    {
      "page": "calculate.contrast.deviance",
      "title": "Find deviance statistics such as DIC and pD.",
      "topics": [
        "calculate.contrast.deviance"
      ]
    },
    {
      "page": "calculate.deviance",
      "title": "Find deviance statistics such as DIC and pD.",
      "topics": [
        "calculate.deviance"
      ]
    },
    {
      "page": "cardiovascular",
      "title": "Trials of low dose and high dose statins for cardiovascular disease vs. placebo",
      "topics": [
        "cardiovascular"
      ]
    },
    {
      "page": "certolizumab",
      "title": "Trials of certolizumab pegol (CZP) for the treatment of rheumatoid arthritis in patients",
      "topics": [
        "certolizumab"
      ]
    },
    {
      "page": "contrast.network.data",
      "title": "Make a network object for contrast-level data containing data, priors, and a JAGS model file",
      "topics": [
        "contrast.network.data"
      ]
    },
    {
      "page": "contrast.network.deviance.plot",
      "title": "Make a contrast network deviance plot",
      "topics": [
        "contrast.network.deviance.plot"
      ]
    },
    {
      "page": "contrast.network.leverage.plot",
      "title": "Make a leverage plot",
      "topics": [
        "contrast.network.leverage.plot"
      ]
    },
    {
      "page": "contrast.network.run",
      "title": "Run the model using the network object",
      "topics": [
        "contrast.network.run"
      ]
    },
    {
      "page": "draw.network.graph",
      "title": "Draws network graph using igraph package",
      "topics": [
        "draw.network.graph"
      ]
    },
    {
      "page": "network.autocorr.diag",
      "title": "Generate autocorrelation diagnostics using coda package",
      "topics": [
        "network.autocorr.diag"
      ]
    },
    {
      "page": "network.autocorr.plot",
      "title": "Generate autocorrelation plot using coda package",
      "topics": [
        "network.autocorr.plot"
      ]
    },
    {
      "page": "network.covariate.plot",
      "title": "Make a covariate plot",
      "topics": [
        "network.covariate.plot"
      ]
    },
    {
      "page": "network.cumrank.tx.plot",
      "title": "Create a treatment cumulative rank plot",
      "topics": [
        "network.cumrank.tx.plot"
      ]
    },
    {
      "page": "network.data",
      "title": "Make a network object containing data, priors, and a JAGS model file",
      "topics": [
        "network.data"
      ]
    },
    {
      "page": "network.deviance.plot",
      "title": "Make a deviance plot",
      "topics": [
        "network.deviance.plot"
      ]
    },
    {
      "page": "network.forest.plot",
      "title": "Draws forest plot",
      "topics": [
        "network.forest.plot"
      ]
    },
    {
      "page": "network.gelman.diag",
      "title": "Use coda package to find Gelman-Rubin diagnostics",
      "topics": [
        "network.gelman.diag"
      ]
    },
    {
      "page": "network.gelman.plot",
      "title": "Use coda package to plot Gelman-Rubin diagnostic plot",
      "topics": [
        "network.gelman.plot"
      ]
    },
    {
      "page": "network.inconsistency.plot",
      "title": "Plotting comparison of posterior mean deviance in the consistency model and inconsistency model",
      "topics": [
        "network.inconsistency.plot"
      ]
    },
    {
      "page": "network.leverage.plot",
      "title": "Make a leverage plot",
      "topics": [
        "network.leverage.plot"
      ]
    },
    {
      "page": "network.rank.tx.plot",
      "title": "Create a treatment rank plot",
      "topics": [
        "network.rank.tx.plot"
      ]
    },
    {
      "page": "network.run",
      "title": "Run the model using the network object",
      "topics": [
        "network.run"
      ]
    },
    {
      "page": "nodesplit.network.data",
      "title": "Make a network object containing data, priors, and a JAGS model file",
      "topics": [
        "nodesplit.network.data"
      ]
    },
    {
      "page": "nodesplit.network.run",
      "title": "Run the model using the nodesplit network object",
      "topics": [
        "nodesplit.network.run"
      ]
    },
    {
      "page": "parkinsons",
      "title": "Dopamine agonists as adjunct therapy in Parkinson's disease",
      "topics": [
        "parkinsons"
      ]
    },
    {
      "page": "parkinsons_contrast",
      "title": "Dopamine agonists as adjunct therapy in Parkinson's disease",
      "topics": [
        "parkinsons_contrast"
      ]
    },
    {
      "page": "plot.contrast.network.result",
      "title": "Plot traceplot and posterior density of the result using contrast data",
      "topics": [
        "plot.contrast.network.result"
      ]
    },
    {
      "page": "plot.network.result",
      "title": "Plot traceplot and posterior density of the result",
      "topics": [
        "plot.network.result"
      ]
    },
    {
      "page": "plot.ume.network.result",
      "title": "Plot traceplot and posterior density of the result using contrast data",
      "topics": [
        "plot.ume.network.result"
      ]
    },
    {
      "page": "rank.tx",
      "title": "Create a treatment rank table",
      "topics": [
        "rank.tx"
      ]
    },
    {
      "page": "relative.effects",
      "title": "Find relative effects for base treatment and comparison treatments",
      "topics": [
        "relative.effects"
      ]
    },
    {
      "page": "relative.effects.table",
      "title": "Make a summary table for relative effects",
      "topics": [
        "relative.effects.table"
      ]
    },
    {
      "page": "smoking",
      "title": "Smoking cessation counseling programs",
      "topics": [
        "smoking"
      ]
    },
    {
      "page": "statins",
      "title": "Trials of statins for cholesterol lowering vs. placebo or usual care",
      "topics": [
        "statins"
      ]
    },
    {
      "page": "sucra",
      "title": "Calculate SUCRA",
      "topics": [
        "sucra"
      ]
    },
    {
      "page": "summary.contrast.network.result",
      "title": "Summarize result run by 'contrast.network.run'",
      "topics": [
        "summary.contrast.network.result"
      ]
    },
    {
      "page": "summary.network.result",
      "title": "Summarize result run by 'network.run'",
      "topics": [
        "summary.network.result"
      ]
    },
    {
      "page": "summary.nodesplit.network.result",
      "title": "Summarize result run by 'nodesplit.network.run'",
      "topics": [
        "summary.nodesplit.network.result"
      ]
    },
    {
      "page": "summary.ume.network.result",
      "title": "Summarize result run by 'ume.network.run'",
      "topics": [
        "summary.ume.network.result"
      ]
    },
    {
      "page": "thrombolytic",
      "title": "Thrombolytic drugs and percutaneous transluminal coronary angioplasty",
      "topics": [
        "thrombolytic"
      ]
    },
    {
      "page": "ume.network.data",
      "title": "Make a network object for the unrelated mean effects model (inconsistency model) containing data, priors, and a JAGS model file",
      "topics": [
        "ume.network.data"
      ]
    },
    {
      "page": "ume.network.run",
      "title": "Run the model using the network object",
      "topics": [
        "ume.network.run"
      ]
    },
    {
      "page": "variance.tx.effects",
      "title": "Calculate correlation matrix for multinomial heterogeneity parameter.",
      "topics": [
        "variance.tx.effects"
      ]
    }
  ],
  "_readme": "https://github.com/mikejseo/bnma/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "coda",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "igraph",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rjags",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "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"
    }
  ],
  "_vignettes": [
    {
      "source": "bnma.Rmd",
      "filename": "bnma.html",
      "title": "Bayesian network meta analysis",
      "author": "Michael Seo and Christopher Schmid",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preprocessing",
        "Datasets",
        "Priors",
        "Running the model",
        "Model Summary",
        "Multinomial model",
        "Adding covariates",
        "Baseline risk",
        "Unrelated Means Model",
        "Inconsistency model",
        "Finding risk difference, relative risk, and number needed to treat with Binomial outcomes",
        "Generating reproducible results: initializing the random number generators"
      ],
      "created": "2024-02-10 22:33:18",
      "modified": "2024-02-11 22:28:44",
      "commits": 3
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "bnma",
  "_universes": [
    "mikejseo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.1",
      "date": "2026-05-23T07:31:17.000Z",
      "distro": "noble",
      "commit": "c7c327e2579c46a05c76d6463d6a990eee3fdbe5",
      "fileid": "aa077cad04e124c45c1262abfaf0b59b7942d0dac9406f2aa0a7bd2cddca10f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikejseo/actions/runs/26326860605"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.6.1",
      "date": "2026-05-23T07:31:18.000Z",
      "distro": "noble",
      "commit": "c7c327e2579c46a05c76d6463d6a990eee3fdbe5",
      "fileid": "18a944dc6476ab283b152b4d5d088cb6a43b6602eb31e004b5946982db3f796d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikejseo/actions/runs/26326860605"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.6.1",
      "date": "2026-05-23T07:30:41.000Z",
      "commit": "c7c327e2579c46a05c76d6463d6a990eee3fdbe5",
      "fileid": "0091d43858b973b2cee4287010ee23978155396c4911b3132426c5d8ca387f1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikejseo/actions/runs/26326860605"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.6.1",
      "date": "2026-05-23T07:30:50.000Z",
      "commit": "c7c327e2579c46a05c76d6463d6a990eee3fdbe5",
      "fileid": "18b95a47ccb98be395a7b4b9ed915e61e230057265410262e47796a3ff6c32fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikejseo/actions/runs/26326860605"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6.1",
      "date": "2026-05-23T07:31:14.000Z",
      "commit": "c7c327e2579c46a05c76d6463d6a990eee3fdbe5",
      "fileid": "93713d1386d43be683d3ee02498696340f24eb154d575dc6c9d5564e1e450fba",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mikejseo/actions/runs/26326860605"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.1",
      "date": "2026-05-23T07:30:34.000Z",
      "commit": "c7c327e2579c46a05c76d6463d6a990eee3fdbe5",
      "fileid": "898c24d588d22846bdb48f81873cb2af34b7fb5899027787a111f8687041d98e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikejseo/actions/runs/26326860605"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.6.1",
      "date": "2026-05-23T07:30:25.000Z",
      "commit": "c7c327e2579c46a05c76d6463d6a990eee3fdbe5",
      "fileid": "95d288556235feab538f102760ee6a7961e6eb46e800b2fe0fcc2b9c493645f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikejseo/actions/runs/26326860605"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.6.1",
      "date": "2026-05-23T07:30:30.000Z",
      "commit": "c7c327e2579c46a05c76d6463d6a990eee3fdbe5",
      "fileid": "d2aeab188203d449a14a10a88c3f1248b989f72070fd03a1b96d52a66dd3e087",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikejseo/actions/runs/26326860605"
    }
  ]
}