{
  "_id": "6aca8742fe5cc25786e8aea2",
  "Package": "BayesPPD",
  "Title": "Bayesian Power Prior Design",
  "Version": "1.1.3",
  "Date": "2025-01-03",
  "Authors@R": "c(\nperson(given = \"Yueqi\",\nfamily = \"Shen\",\nrole = c(\"aut\",\"cre\"),\nemail = \"angieshen6@gmail.com\"),\nperson(given = \"Matthew A.\",\nfamily = \"Psioda\",\nrole = c(\"aut\"),\nemail = \"matt_psioda@unc.edu\"),\nperson(given = \"Joseph G.\",\nfamily = \"Ibrahim\",\nrole = c(\"aut\"),\nemail = \"ibrahim@bios.unc.edu\"))",
  "Description": "Bayesian power/type I error calculation and model fitting\nusing the power prior and the normalized power prior for\ngeneralized linear models. Detailed examples of applying the\npackage are available at <doi:10.32614/RJ-2023-016>. Models for\ntime-to-event outcomes are implemented in the R package\n'BayesPPDSurv'. The Bayesian clinical trial design methodology\nis described in Chen et al. (2011)\n<doi:10.1111/j.1541-0420.2011.01561.x>, and Psioda and Ibrahim\n(2019) <doi:10.1093/biostatistics/kxy009>. The normalized power\nprior is described in Duan et al. (2006) <doi:10.1002/env.752>\nand Ibrahim et al. (2015) <doi:10.1002/sim.6728>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.1",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-10 17:46:58 UTC",
    "User": "root"
  },
  "Author": "Yueqi Shen [aut, cre], Matthew A. Psioda [aut], Joseph G.\nIbrahim [aut]",
  "Maintainer": "Yueqi Shen <angieshen6@gmail.com>",
  "Repository": "https://angieshen6.r-universe.dev",
  "Date/Publication": "2025-01-13 19:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/BayesPPD",
  "RemoteRef": "HEAD",
  "RemoteSha": "a105b5c74c009b19c541310f436d70714827e36b",
  "_user": "angieshen6",
  "_type": "src",
  "_file": "BayesPPD_1.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/e0c4ecf2989b79150791a7662bf93730ce93d714a9a42ba7b48bb433443f6c47",
  "_filesize": 431555,
  "_sha256": "e0c4ecf2989b79150791a7662bf93730ce93d714a9a42ba7b48bb433443f6c47",
  "_expires": "2027-01-18T18:43:12.000Z",
  "_created": "2026-10-10T17:46:58.000Z",
  "_published": "2026-10-10T18:43:14.547Z",
  "_buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114274687497,
      "time": 192,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11677551861"
    },
    {
      "job": 114274687550,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11678180486"
    },
    {
      "job": 114274687555,
      "time": 177,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677282323"
    },
    {
      "job": 114274687476,
      "time": 215,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677950999"
    },
    {
      "job": 114274687436,
      "time": 227,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11679285785"
    },
    {
      "job": 114274687433,
      "time": 496,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11677811709"
    },
    {
      "job": 114274687456,
      "time": 190,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678642303"
    },
    {
      "job": 114274687427,
      "time": 527,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677512350"
    },
    {
      "job": 114273767814,
      "time": 273,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677955518"
    },
    {
      "job": 114274687411,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11678265300"
    },
    {
      "job": 114274687403,
      "time": 420,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11678440470"
    },
    {
      "job": 114274687442,
      "time": 475,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11678136095"
    },
    {
      "job": 114274687598,
      "time": 253,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11677457156"
    },
    {
      "job": 114274687484,
      "time": 428,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677651919"
    },
    {
      "job": 114274687509,
      "time": 439,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678380748"
    }
  ],
  "_upstream": "https://github.com/cran/BayesPPD",
  "_commit": {
    "id": "a105b5c74c009b19c541310f436d70714827e36b",
    "author": "Yueqi Shen <angieshen6@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.3\n",
    "time": 1736796602
  },
  "_maintainer": {
    "name": "Yueqi Shen",
    "email": "angieshen6@gmail.com",
    "login": "angieshen6",
    "description": "",
    "uuid": 16693528
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "RcppNumerical",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "angieshen6",
      "count": 1,
      "uuid": 16693528
    }
  ],
  "_userbio": {
    "uuid": 16693528,
    "type": "user",
    "name": "angieshen6",
    "followers": 2
  },
  "_downloads": {
    "count": 501,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesPPD"
  },
  "_searchresults": 8,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BayesPPD.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"
  ],
  "_realowner": "angieshen6",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-05-10"
    },
    {
      "version": "1.0.1",
      "date": "2021-07-13"
    },
    {
      "version": "1.0.2",
      "date": "2021-07-20"
    },
    {
      "version": "1.0.3",
      "date": "2021-09-08"
    },
    {
      "version": "1.0.4",
      "date": "2022-01-03"
    },
    {
      "version": "1.0.5",
      "date": "2022-04-17"
    },
    {
      "version": "1.0.6",
      "date": "2022-04-23"
    },
    {
      "version": "1.0.7",
      "date": "2022-08-12"
    },
    {
      "version": "1.1.0",
      "date": "2022-11-12"
    },
    {
      "version": "1.1.1",
      "date": "2023-05-09"
    },
    {
      "version": "1.1.2",
      "date": "2023-11-26"
    },
    {
      "version": "1.1.3",
      "date": "2025-01-17"
    }
  ],
  "_exports": [
    "glm.fixed.a0",
    "glm.random.a0",
    "normalizing.constant",
    "power.glm.fixed.a0",
    "power.glm.random.a0",
    "power.two.grp.fixed.a0",
    "power.two.grp.random.a0",
    "two.grp.fixed.a0",
    "two.grp.random.a0"
  ],
  "_datasets": [
    {
      "name": "actg019",
      "title": "AIDS Clinical Trial ACTG019 (1990).",
      "object": "actg019",
      "class": [
        "data.frame"
      ],
      "fields": [
        "outcome",
        "age",
        "race",
        "T4count"
      ],
      "rows": 404,
      "table": true,
      "tojson": true
    },
    {
      "name": "actg036",
      "title": "AIDS Clinical Trial ACTG036 (1991).",
      "object": "actg036",
      "class": [
        "data.frame"
      ],
      "fields": [
        "outcome",
        "treat",
        "age",
        "race",
        "T4count"
      ],
      "rows": 183,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BayesPPD-package",
      "title": "Bayesian sample size determination using the power and normalized power prior for generalized linear models",
      "topics": [
        "BayesPPD-package"
      ]
    },
    {
      "page": "actg019",
      "title": "AIDS Clinical Trial ACTG019 (1990).",
      "topics": [
        "actg019"
      ]
    },
    {
      "page": "actg036",
      "title": "AIDS Clinical Trial ACTG036 (1991).",
      "topics": [
        "actg036"
      ]
    },
    {
      "page": "glm.fixed.a0",
      "title": "Model fitting for generalized linear models with fixed a0",
      "topics": [
        "glm.fixed.a0"
      ]
    },
    {
      "page": "glm.random.a0",
      "title": "Model fitting for generalized linear models with random a0",
      "topics": [
        "glm.random.a0"
      ]
    },
    {
      "page": "normalizing.constant",
      "title": "Function for approximating the normalizing constant for generalized linear models with random a0",
      "topics": [
        "normalizing.constant"
      ]
    },
    {
      "page": "power.glm.fixed.a0",
      "title": "Power/type I error calculation for generalized linear models with fixed a0",
      "topics": [
        "power.glm.fixed.a0"
      ]
    },
    {
      "page": "power.glm.random.a0",
      "title": "Power/type I error calculation for generalized linear models with random a0",
      "topics": [
        "power.glm.random.a0"
      ]
    },
    {
      "page": "power.two.grp.fixed.a0",
      "title": "Power/type I error calculation for data with two groups (treatment and control group, no covariates) with fixed a0",
      "topics": [
        "power.two.grp.fixed.a0"
      ]
    },
    {
      "page": "power.two.grp.random.a0",
      "title": "Power/type I error calculation for two groups (treatment and control group, no covariates) with random a0",
      "topics": [
        "power.two.grp.random.a0"
      ]
    },
    {
      "page": "two.grp.fixed.a0",
      "title": "Model fitting for two groups (treatment and control group, no covariates) with fixed a0",
      "topics": [
        "two.grp.fixed.a0"
      ]
    },
    {
      "page": "two.grp.random.a0",
      "title": "Model fitting for two groups (treatment and control group, no covariates) with random a0",
      "topics": [
        "two.grp.random.a0"
      ]
    }
  ],
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppNumerical"
  ],
  "_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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "bayesppd-vignette.Rmd",
      "filename": "bayesppd-vignette.html",
      "title": "Bayesian Sample Size Determination for Two Group Models (Binary and Normal Outcomes)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Two Group Cases with Binary Outcomes",
        "1.1 Power Prior with Fixed $a_0$",
        "1.2 Normalized Power Prior ($a_0$ Modeled as Random)",
        "2. Two Group Cases with Normally Distributed Outcomes",
        "2.1 Power Prior with Fixed $a_0$",
        "2.2 Normalized Power Prior ($a_0$ Modeled as Random)"
      ],
      "created": "2022-11-12 07:20:02",
      "modified": "2022-11-12 07:20:02",
      "commits": 1
    }
  ],
  "_score": 2.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "bayesppd",
  "_universes": [
    "angieshen6"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.3",
      "date": "2026-10-10T17:49:22.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/18c64a27c59ef1f027629c107712e553830c10821d59b7d85500ea824552b53e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.3",
      "date": "2026-10-10T17:49:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/b00c337c98e47e36c05d49aebbf92f192f8b1f30a04d39e6df1985072ed5b23d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.3",
      "date": "2026-10-10T17:49:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/49490276673c7dfd98ae4e41a9aad69878e7a5e61faa680ee88699689b9216b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.3",
      "date": "2026-10-10T17:49:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/6af07c7027632413510003dbb65126078729c65b19558ac82c8219af827953a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.3",
      "date": "2026-10-10T18:40:08.000Z",
      "arch": "aarch64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/21d0c9cf90608b488a9dca7f5bf6d656063bb1f6ad8533ed4a62dfefd0df5b6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.3",
      "date": "2026-10-10T17:51:18.000Z",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/1cfe45c9c36e038316615a623dfd88e87f060f9cb321f02a160fbbe2bac2b003",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.3",
      "date": "2026-10-10T18:40:58.000Z",
      "arch": "aarch64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/ed2c4112b9170983363776306a0b03024d48f1c65da389e761c2f64cdfdeaf40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.3",
      "date": "2026-10-10T17:51:52.000Z",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/c9649ba75ac33868a5776cf0968feb5c8b70bc53f2608ba8fc9adc1689c070c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.3",
      "date": "2026-10-10T17:49:27.000Z",
      "arch": "emscripten",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/0f72cb7eb8613303e78aaf2865cc692bb677e053a21027348f32825f3b73575b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-10-10T17:52:24.000Z",
      "arch": "aarch64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/a203865fc936d8ca3af8d29610d834daf02694c2f4beca52ee5993a3c4c4b285",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-10-10T17:48:42.000Z",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/7f2cfde7c236d5ee77e97c5440cf0a5f3d5211a4ab37ee0db1ffe75bfd298168",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-10-10T17:49:01.000Z",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/8e878f46036aa1cab0c802f49f815d34d3b7356a64aa6fac41d09994ce8c026d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-10-10T17:52:26.000Z",
      "arch": "aarch64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/d91196a5c813620153fd88d628f8c45d73a6a8bb6d60c2c67bcfdd20e7de0591",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-10-10T17:48:41.000Z",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "https://r2.ropensci.org/b307b8460f3d0bed40b5a4eeb5e63fd0ce021465291b26407287c8434ecad9e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/38072858178"
    }
  ]
}