{
  "_id": "6a213988cd65a98ecbd27978",
  "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-06-04 08:28:49 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",
  "MD5sum": "fb04e448316e931eb0be01851026c16a",
  "_user": "angieshen6",
  "_type": "src",
  "_file": "BayesPPD_1.1.3.tar.gz",
  "_fileid": "1e4e473d7c2a4f18a2a87dc426cbf524e5f94d1f4f68b536d02d79d898bc88a2",
  "_filesize": 429951,
  "_sha256": "1e4e473d7c2a4f18a2a87dc426cbf524e5f94d1f4f68b536d02d79d898bc88a2",
  "_created": "2026-06-04T08:28:49.000Z",
  "_published": "2026-06-04T08:38:32.817Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79480017260,
      "time": 228,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406740600"
    },
    {
      "job": 79480017248,
      "time": 231,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406741172"
    },
    {
      "job": 79480017217,
      "time": 217,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406737330"
    },
    {
      "job": 79480017269,
      "time": 245,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406745649"
    },
    {
      "job": 79480017233,
      "time": 269,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406741953"
    },
    {
      "job": 79480017230,
      "time": 488,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406823943"
    },
    {
      "job": 79480017237,
      "time": 206,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406723784"
    },
    {
      "job": 79480017295,
      "time": 420,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406798632"
    },
    {
      "job": 79479188304,
      "time": 303,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406657351"
    },
    {
      "job": 79480017215,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406715875"
    },
    {
      "job": 79480017234,
      "time": 465,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406825510"
    },
    {
      "job": 79480017229,
      "time": 442,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406817622"
    },
    {
      "job": 79480017205,
      "time": 497,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406837109"
    }
  ],
  "_buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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"
  },
  "_downloads": {
    "count": 322,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesPPD"
  },
  "_searchresults": 7,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BayesPPD.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_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.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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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-06-04T08:32:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "41388cf8025c12eee68326d2f9a000ac486e3d27eabf36d5182c5eefe1b4e0b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.3",
      "date": "2026-06-04T08:31:54.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "c8b4a4f8a8e95fa609632ae92451f5c8db301f5c9b33fbbe5ed48a13f7f4e861",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.3",
      "date": "2026-06-04T08:31:52.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "fe1ed942e54a6dd238d5e3620de17d2470551e4ac1c82a361076247007e45fbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.3",
      "date": "2026-06-04T08:32:09.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "14e7395a85806a44a7a6b5d341965c97dee563ce2f7a57a6274424d4f16f570b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.3",
      "date": "2026-06-04T08:32:14.000Z",
      "arch": "aarch64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "d599ca9a3933dba38914aea08e63e5acfa7250d1d1081b297e0fa1dee408350b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.3",
      "date": "2026-06-04T08:33:56.000Z",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "959688f5dbba639555909f9e6c339a786836f5787e5d39e7b72a23d831914e3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.3",
      "date": "2026-06-04T08:31:36.000Z",
      "arch": "aarch64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "dba738f87069998360d83fcf58aaad3e4362d59c516e67e4d86e1df4361dee50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.3",
      "date": "2026-06-04T08:33:29.000Z",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "2f17eb5ae654876d7fb688766ebc29f26275a973444faf9df61c8e2813f46971",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.3",
      "date": "2026-06-04T08:31:51.000Z",
      "arch": "emscripten",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "577648a095338343fd09a71a7e0a955e065ae117286fa8556a5ea2890d1c2010",
      "status": "success",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-06-04T08:30:54.000Z",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "cc5b399016422d90e3d2cf16248bd4e049d2b8bc84707e1b475c4b6c0f147b47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-06-04T08:30:52.000Z",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "08e74025af8c424f650707da17e003c7b985ce8a4d9f50f3a3431c17dd9cacc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-06-04T08:30:53.000Z",
      "arch": "x86_64",
      "commit": "a105b5c74c009b19c541310f436d70714827e36b",
      "fileid": "f63fc243a27e1c30e1f4a4311a246d8761df48706f8503e24a979cd1c3143776",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angieshen6/actions/runs/26940080795"
    }
  ]
}