{
  "_id": "6adf45c5f24dcd7a258c8b6b",
  "Package": "bayesDP",
  "Type": "Package",
  "Title": "Implementation of the Bayesian Discount Prior Approach for\nClinical Trials",
  "Version": "1.3.8",
  "Authors@R": "c(\nperson(\"Shawn\", \"Balcome\",\nrole = \"aut\"),\nperson(\"Donnie\", \"Musgrove\",\nrole = \"aut\"),\nperson(\"Tarek\", \"Haddad\",\nemail = \"tarek.d.haddad@medtronic.com\",\nrole = \"aut\"),\nperson(\"Graeme L.\", \"Hickey\",\nemail = \"graemeleehickey@gmail.com\",\nrole = c(\"cre\", \"aut\"),\ncomment = c(ORCID = \"0000-0002-4989-0054\")),\nperson(\"Christopher\", \"Jackson\",\nemail = \"chris.jackson@mrc-bsu.cam.ac.uk\",\nrole = \"ctb\",\ncomment = \"For the ppexp R code that was ported to C++.\"))",
  "Description": "Functions for data augmentation using the Bayesian\ndiscount prior method for single arm and two-arm clinical\ntrials, as described in Haddad et al. (2017)\n<doi:10.1080/10543406.2017.1300907>. The discount power prior\nmethodology was developed in collaboration with the The Medical\nDevice Innovation Consortium (MDIC) Computer Modeling &\nSimulation Working Group.",
  "LazyLoad": "yes",
  "License": "GPL-3 | file LICENSE",
  "URL": "https://github.com/graemeleehickey/bayesDP,\nhttps://graemeleehickey.github.io/bayesDP/,\nhttps://CRAN.R-project.org/package=bayesDP",
  "BugReports": "https://github.com/graemeleehickey/bayesDP/issues",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.3",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Packaged": {
    "Date": "2026-10-26 12:16:21 UTC",
    "User": "root"
  },
  "Author": "Shawn Balcome [aut], Donnie Musgrove [aut], Tarek Haddad [aut],\nGraeme L. Hickey [cre, aut] (ORCID:\n<https://orcid.org/0000-0002-4989-0054>), Christopher Jackson\n[ctb] (For the ppexp R code that was ported to C++.)",
  "Maintainer": "Graeme L. Hickey <graemeleehickey@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-25 16:00:14 UTC",
  "RemoteUrl": "https://github.com/cran/bayesDP",
  "RemoteRef": "HEAD",
  "RemoteSha": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
  "_user": "cran",
  "_type": "src",
  "_file": "bayesDP_1.3.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/12dbd809493075bae03455f15686262f03fe9765fad6f98e5ad2c0f6521b91ca",
  "_filesize": 3109763,
  "_sha256": "12dbd809493075bae03455f15686262f03fe9765fad6f98e5ad2c0f6521b91ca",
  "_expires": "2027-02-03T12:21:23.000Z",
  "_created": "2026-10-26T12:16:21.000Z",
  "_published": "2026-10-26T12:21:25.720Z",
  "_upstream": "https://github.com/cran/bayesDP",
  "_status": "success",
  "_maintainer": {
    "name": "Graeme L. Hickey",
    "email": "graemeleehickey@gmail.com",
    "login": "graemeleehickey",
    "linkedin": "in/graemeleehickey",
    "orcid": "0000-0002-4989-0054",
    "twitter": "@graemeleehickey",
    "description": "Senior Director of Statistics | Medtronic Structural Heart & Aortic",
    "uuid": 5270977
  },
  "_jobs": [
    {
      "job": 121566768778,
      "time": 165,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12648819880"
    },
    {
      "job": 121566768861,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12649481765"
    },
    {
      "job": 121566768642,
      "time": 127,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12648937863"
    },
    {
      "job": 121566768749,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12649845336"
    },
    {
      "job": 121564987876,
      "time": 244,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12649276667"
    },
    {
      "job": 121566768831,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12648394076"
    },
    {
      "job": 121566768715,
      "time": 229,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12649825594"
    },
    {
      "job": 121566768705,
      "time": 153,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12649975016"
    },
    {
      "job": 121566768911,
      "time": 242,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12649661143"
    },
    {
      "job": 121566768793,
      "time": 154,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12649660853"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40320766317",
  "_commit": {
    "id": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
    "author": "Graeme L. Hickey <graemeleehickey@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.3.8\n",
    "time": 1782403214
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "MCMCpack",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.3.8",
      "date": "2026-06-25"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "graemeleehickey",
      "count": 6,
      "uuid": 5270977
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 616,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bayesDP"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/graemeleehickey/bayesdp",
  "_pkgdown": "https://graemeleehickey.github.io/bayesDP/",
  "_searchresults": 74,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/bayesDP.html",
    "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/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/graemeleehickey/bayesdp",
  "_realowner": "graemeleehickey",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2017-03-22"
    },
    {
      "version": "1.0.1",
      "date": "2017-04-01"
    },
    {
      "version": "1.0.2",
      "date": "2017-04-14"
    },
    {
      "version": "1.1.0",
      "date": "2017-05-03"
    },
    {
      "version": "1.1.1",
      "date": "2017-05-15"
    },
    {
      "version": "1.2.0",
      "date": "2017-07-10"
    },
    {
      "version": "1.2.1",
      "date": "2017-08-01"
    },
    {
      "version": "1.2.2",
      "date": "2017-08-17"
    },
    {
      "version": "1.3.0",
      "date": "2017-12-07"
    },
    {
      "version": "1.3.1",
      "date": "2018-04-11"
    },
    {
      "version": "1.3.2",
      "date": "2018-07-10"
    },
    {
      "version": "1.3.3",
      "date": "2020-02-03"
    },
    {
      "version": "1.3.4",
      "date": "2021-01-06"
    },
    {
      "version": "1.3.5",
      "date": "2021-11-16"
    },
    {
      "version": "1.3.6",
      "date": "2022-01-30"
    },
    {
      "version": "1.3.7",
      "date": "2025-01-12"
    },
    {
      "version": "1.3.8",
      "date": "2026-06-25"
    }
  ],
  "_exports": [
    "alpha_discount",
    "bdpbinomial",
    "bdplm",
    "bdplogit",
    "bdpnormal",
    "bdpsurvival",
    "plot",
    "ppexp",
    "print",
    "probability_discount",
    "summary"
  ],
  "_help": [
    {
      "page": "alpha_discount",
      "title": "Bayesian Discount Prior: Historical Data Weight (alpha)",
      "topics": [
        "alpha_discount",
        "alpha_discount,ANY-method"
      ]
    },
    {
      "page": "bdpbinomial",
      "title": "Bayesian Discount Prior: Binomial counts",
      "topics": [
        "bdpbinomial",
        "bdpbinomial,ANY-method",
        "bdpbinomial-method"
      ]
    },
    {
      "page": "bdplm",
      "title": "Bayesian Discount Prior: Two-Arm Linear Regression",
      "topics": [
        "bdplm",
        "bdplm,ANY-method",
        "bdplm-method"
      ]
    },
    {
      "page": "bdplogit",
      "title": "Bayesian Discount Prior: Two-Arm Logistic Regression",
      "topics": [
        "bdplogit",
        "bdplogit,ANY-method",
        "bdplogit-method"
      ]
    },
    {
      "page": "bdpnormal",
      "title": "Bayesian Discount Prior: Gaussian mean values",
      "topics": [
        "bdpnormal",
        "bdpnormal,ANY-method",
        "bdpnormal-method"
      ]
    },
    {
      "page": "bdpsurvival",
      "title": "Bayesian Discount Prior: Survival Analysis",
      "topics": [
        "bdpsurvival",
        "bdpsurvival,ANY-method",
        "bdpsurvival-method"
      ]
    },
    {
      "page": "plot-bdpbinomial-method",
      "title": "bdpbinomial Object Plot",
      "topics": [
        "plot,bdpbinomial-method"
      ]
    },
    {
      "page": "plot-bdpnormal-method",
      "title": "bdpnormal Object Plot",
      "topics": [
        "plot,bdpnormal-method"
      ]
    },
    {
      "page": "plot-bdpsurvival-method",
      "title": "bdpsurvival Object Plot",
      "topics": [
        "plot,bdpsurvival-method"
      ]
    },
    {
      "page": "ppexp",
      "title": "Compute cdf of the piecewise exponential distribution",
      "topics": [
        "ppexp"
      ]
    },
    {
      "page": "print-bdpbinomial-method",
      "title": "bdpbinomial Object Print",
      "topics": [
        "print,bdpbinomial-method"
      ]
    },
    {
      "page": "print-bdplm-method",
      "title": "bdplm Object Print",
      "topics": [
        "print,bdplm-method"
      ]
    },
    {
      "page": "print-bdpnormal-method",
      "title": "bdpnormal Object Print",
      "topics": [
        "print,bdpnormal-method"
      ]
    },
    {
      "page": "print-bdpsurvival-method",
      "title": "bdpsurvival Object Print",
      "topics": [
        "print,bdpsurvival-method"
      ]
    },
    {
      "page": "probability_discount",
      "title": "Bayesian Discount Prior: Comparison Between Current and Historical Data",
      "topics": [
        "probability_discount",
        "probability_discount,ANY-method"
      ]
    },
    {
      "page": "summary-bdpbinomial-method",
      "title": "bdpbinomial Object Summary",
      "topics": [
        "summary,bdpbinomial-method"
      ]
    },
    {
      "page": "summary-bdplm-method",
      "title": "bdplm Object Summary",
      "topics": [
        "summary,bdplm-method"
      ]
    },
    {
      "page": "summary-bdpnormal-method",
      "title": "bdpnormal Object Summary",
      "topics": [
        "summary,bdpnormal-method"
      ]
    },
    {
      "page": "summary-bdpsurvival-method",
      "title": "bdpsurvival Object Summary",
      "topics": [
        "summary,bdpsurvival-method"
      ]
    }
  ],
  "_readme": "https://github.com/cran/bayesDP/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "coda",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mcmc",
    "MCMCpack",
    "quantreg",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "bdpbinomial-vignette.Rmd",
      "filename": "bdpbinomial-vignette.html",
      "title": "Binomial Count Estimation with bayesDP",
      "author": "Donnie Musgrove",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Estimation of the historical data weight",
        "Discount function",
        "Estimation of the posterior distribution of the current data, conditional on the historical data",
        "Estimation of the posterior treatment effect: treatment versus control",
        "Inputting Data",
        "Examples",
        "One-arm trial",
        "Two-arm trial"
      ],
      "created": "2017-05-03 20:06:01",
      "modified": "2026-06-25 16:00:14",
      "commits": 6
    },
    {
      "source": "bdplm-vignette.Rmd",
      "filename": "bdplm-vignette.html",
      "title": "Linear Regression Estimation with bayesDP",
      "author": "Donnie Musgrove",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Linear Regresion Model Background",
        "Estimation of the historical data weight",
        "Discount function",
        "Estimation of the posterior distribution of the current data, conditional on the historical data",
        "Inputting Data",
        "Examples",
        "Two-arm trial"
      ],
      "created": "2017-12-07 21:02:57",
      "modified": "2026-06-25 16:00:14",
      "commits": 4
    },
    {
      "source": "bdpnormal-vignette.Rmd",
      "filename": "bdpnormal-vignette.html",
      "title": "Normal Mean Estimation with bayesDP",
      "author": "Donnie Musgrove",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Estimation of the historical data weight",
        "Discount function",
        "Estimation of the posterior distribution of the current data, conditional on the historical data",
        "Estimation of the posterior treatment effect: treatment versus control",
        "Inputting Data",
        "Examples",
        "One-arm trial",
        "Two-arm trial"
      ],
      "created": "2017-05-03 20:06:01",
      "modified": "2026-06-25 16:00:14",
      "commits": 6
    },
    {
      "source": "bdpsurvival-vignette.Rmd",
      "filename": "bdpsurvival-vignette.html",
      "title": "Survival Outcome Estimation with bayesDP",
      "author": "Donnie Musgrove",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Piecewise Exponential Model Background",
        "Estimation of the historical data weight",
        "Estimation under a one-arm analysis",
        "Estimation under a two-arm analysis",
        "Discount function",
        "Estimation of the posterior distribution of the current data, conditional on the historical data",
        "Inputting Data",
        "Examples",
        "One-arm trial",
        "Two-arm trial"
      ],
      "created": "2017-05-03 20:06:01",
      "modified": "2026-06-25 16:00:14",
      "commits": 6
    }
  ],
  "_score": 4.1702617153949575,
  "_indexed": false,
  "_nocasepkg": "bayesdp",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://graemeleehickey.r-universe.dev/bayesDP",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-26T12:18:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
      "fileid": "https://r2.ropensci.org/52a4630234827a58233b230040c91a6879bc5a7eab4e9e3cc908fe0de4d6fad3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40320766317"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-26T12:18:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
      "fileid": "https://r2.ropensci.org/3de4cc1c525597efa7f9821fd19b5501b19f33a3a2a6072c48b51e12790fe458",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40320766317"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-26T12:18:22.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
      "fileid": "https://r2.ropensci.org/35697684ef395f8e473f658ede1343721002fdc7ebaf4601f828aedbab30386e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40320766317"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-26T12:18:41.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
      "fileid": "https://r2.ropensci.org/06560049964e83f4f578650337103c9e3d5c94116e670dac4c2e070b4745a174",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40320766317"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.8",
      "date": "2026-10-26T12:18:44.000Z",
      "arch": "emscripten",
      "commit": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
      "fileid": "https://r2.ropensci.org/41a17fa255de4ab5a95349fe378f7878d62c5592e54a6a919d1673c0b94987d0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40320766317"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-26T12:19:38.000Z",
      "arch": "aarch64",
      "commit": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
      "fileid": "https://r2.ropensci.org/e28a6d225078ecca4b1d5600bca961e2132b9ed7c9ee5f58f50b4bd00fc1f83c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40320766317"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-26T12:18:00.000Z",
      "arch": "x86_64",
      "commit": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
      "fileid": "https://r2.ropensci.org/b1f22debf3faba30b1f3942ab61bfb5c4ff03fc9024f2a8ac404b07fadcc0d16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40320766317"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-26T12:19:52.000Z",
      "arch": "aarch64",
      "commit": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
      "fileid": "https://r2.ropensci.org/2d405f0dd3b26b30eda9fc953adafc31e096a72fec20c5822d1cd1ce38de2a2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40320766317"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-26T12:18:02.000Z",
      "arch": "x86_64",
      "commit": "f90fe4f19fc5c136050a7ac83ff694802eee9d17",
      "fileid": "https://r2.ropensci.org/49a407ef42e25b31e96fa1f83ff2b4e4256efc0e11a692b72e4b6078a18f91cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40320766317"
    }
  ]
}