Skip to content

BayesCACE

1.2.3Package record

Bayesian Model for CACE Analysis

0packages depend
4.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Performs CACE (Complier Average Causal Effect analysis) on either a single study or meta-analysis of datasets with binary outcomes, using either complete or incomplete noncompliance information. Our package implements the Bayesian methods proposed in Zhou et al. (2019) doi:10.1111/biom.13028, which introduces a Bayesian hierarchical model for estimating CACE in meta-analysis of clinical trials with noncompliance, and Zhou et al. (2021) doi:10.1080/01621459.2021.1900859, with an application example on Epidural Analgesia.

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.3
READMENoVignettesYes · 1 · staticNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
18
Examples that run
53%8 run in a plain check · 7 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
81%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
39% with a bibliography file
Vignettes (1)

Downloads

4.1K
CRAN downloads in the past year
Rank #8,024 · ~11/day · ~342/mo
Daily download trend is not available in this view yet.
34030 days
1.1K90 days
4.1K1 year
Compare downloads with other packages →
Also on134 r2u25 autocran120 c2d4u

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing BayesCACE adds 20 packages (10 with compiled code, 23 MB of source tarballs). Heaviest: metafor 4.8 MB, lme4 4.3 MB, mathjaxr 3.0 MB.

Depends (2)
R >= 3.5.0rjags
Imports (7)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 1.0 (2021)
Contributor
Contributor
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.3Latest
    record
    2022-10-02 · current release · diff ↗
  • 1.2.1
    record
    2022-06-14 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2
    record
    2022-01-06 · diff ↗
  • 1.1
    record
    2022-01-05 · diff ↗ ·
    removed 1 export
    plt.cacebayes
    added 3 exports
    plt.acf, plt.density, plt.trace
  • 1.0
    record
    2021-11-08
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-11-08
Total releases
5 / 5 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
1.3 KB / 2 files
Download size
1.7 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BayesCACE")
Yang, J., Chu, H., Hodges, J., & Zhou, J. (2022). BayesCACE: Bayesian Model for CACE Analysis (Version 1.2.3) [Computer software]. https://doi.org/10.32614/CRAN.package.BayesCACE

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for BayesCACE version 1.2.3 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy