{
  "_id": "6a1c01231d7bb097a0a29616",
  "Package": "bayesDP",
  "Type": "Package",
  "Title": "Implementation of the Bayesian Discount Prior Approach for\nClinical Trials",
  "Version": "1.3.7",
  "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",
  "BugReports": "https://github.com/graemeleehickey/bayesDP/issues",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Packaged": {
    "Date": "2026-05-31 09:32:08 UTC",
    "User": "root"
  },
  "Author": "Shawn Balcome [aut], Donnie Musgrove [aut], Tarek Haddad [aut],\nGraeme L. Hickey [cre, aut]\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": "2025-01-12 11:40:10 UTC",
  "RemoteUrl": "https://github.com/cran/bayesDP",
  "RemoteRef": "HEAD",
  "RemoteSha": "0ac89ce37f65ece9326f5d52ee20496ab13b5ced",
  "MD5sum": "7b3279da7a18640c93a3d479571f52dd",
  "_user": "cran",
  "_type": "src",
  "_file": "bayesDP_1.3.7.tar.gz",
  "_fileid": "a9d25793ac0d5e6668b2081400c540ad8b7bbdacca4976a8db2783a0bc0ba8b4",
  "_filesize": 3046120,
  "_sha256": "a9d25793ac0d5e6668b2081400c540ad8b7bbdacca4976a8db2783a0bc0ba8b4",
  "_created": "2026-05-31T09:32:08.000Z",
  "_published": "2026-05-31T09:36:35.726Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78715600243,
      "time": 183,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315647932"
    },
    {
      "job": 78715600228,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315646690"
    },
    {
      "job": 78715600235,
      "time": 187,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315648318"
    },
    {
      "job": 78715600237,
      "time": 209,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315650619"
    },
    {
      "job": 78715350760,
      "time": 266,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315628893"
    },
    {
      "job": 78715600208,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315643605"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26708902996",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/bayesDP",
  "_commit": {
    "id": "0ac89ce37f65ece9326f5d52ee20496ab13b5ced",
    "author": "Graeme L. Hickey <graemeleehickey@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.3.7\n",
    "time": 1736682010
  },
  "_maintainer": {
    "name": "Graeme L. Hickey",
    "email": "graemeleehickey@gmail.com",
    "login": "graemeleehickey",
    "twitter": "@graemeleehickey",
    "description": "Senior Director of Statistics | Medtronic Structural Heart & Aortic",
    "uuid": 5270977,
    "orcid": "0000-0002-4989-0054"
  },
  "_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": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "graemeleehickey",
      "count": 5,
      "uuid": 5270977
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 388,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bayesDP"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/graemeleehickey/bayesdp",
  "_searchresults": 23,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bayesDP.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/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"
    }
  ],
  "_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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": "bdpbinomial-vignette.Rmd",
      "filename": "bdpbinomial-vignette.html",
      "title": "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": "2018-04-11 15:22:01",
      "commits": 5
    },
    {
      "source": "bdplm-vignette.Rmd",
      "filename": "bdplm-vignette.html",
      "title": "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": "2018-07-10 10:20:03",
      "commits": 3
    },
    {
      "source": "bdpnormal-vignette.Rmd",
      "filename": "bdpnormal-vignette.html",
      "title": "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": "2018-04-11 15:22:01",
      "commits": 5
    },
    {
      "source": "bdpsurvival-vignette.Rmd",
      "filename": "bdpsurvival-vignette.html",
      "title": "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": "2018-04-11 15:22:01",
      "commits": 5
    }
  ],
  "_score": 3.6627578316815743,
  "_indexed": false,
  "_nocasepkg": "bayesdp",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://graemeleehickey.r-universe.dev/bayesDP",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.7",
      "date": "2026-05-31T09:34:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0ac89ce37f65ece9326f5d52ee20496ab13b5ced",
      "fileid": "ee4886ecbe27286082bbb991a335863ca206b2f33daf9edd140dd2e1f4d61ae6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26708902996"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.7",
      "date": "2026-05-31T09:34:42.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0ac89ce37f65ece9326f5d52ee20496ab13b5ced",
      "fileid": "1423ca48fe9ce7e340777ea8cc20061f8d41b70a8e7ad307c7c8ad9dc0c14dba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26708902996"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.7",
      "date": "2026-05-31T09:35:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0ac89ce37f65ece9326f5d52ee20496ab13b5ced",
      "fileid": "4d1bfd88f31698376c3dee227740da0cc7c7fdf40dcbe58b34f0b7639829c75e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26708902996"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.7",
      "date": "2026-05-31T09:35:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0ac89ce37f65ece9326f5d52ee20496ab13b5ced",
      "fileid": "8f89178dbee57f75c9c70669982067f401e6308bc9247a3ce89623e89490daf3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26708902996"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.7",
      "date": "2026-05-31T09:34:55.000Z",
      "arch": "emscripten",
      "commit": "0ac89ce37f65ece9326f5d52ee20496ab13b5ced",
      "fileid": "07e3cc4e94f717b6d1b55d95c84e70023bcef1b3d0ab696eccecbf99abc9481e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26708902996"
    }
  ]
}