Skip to content

BACprior

2.1.2Package record

Choice of Omega in the BAC Algorithm

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

Overview

About

The Bayesian Adjustment for Confounding (BAC) algorithm (Wang et al., 2012) can be used to estimate the causal effect of a continuous exposure on a continuous outcome. This package provides an approximate sensitivity analysis of BAC with regards to the hyperparameter omega. BACprior also provides functions to guide the user in their choice of an appropriate omega value. The method is based on Lefebvre, Atherton and Talbot (2014).

Install

Health

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

none known

Documentation

In release 2.1.2
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
4includes a package overview page
Examples that run
100%3 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
100%

Downloads

3.3K
CRAN downloads in the past year
Rank #11,224 · ~9/day · ~272/mo
Daily download trend is not available in this view yet.
36930 days
93890 days
3.3K1 year
Compare downloads with other packages →
Also on87 r2u17 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing BACprior adds 2 packages (2 with compiled code, 1.0 MB of source tarballs). Heaviest: mvtnorm 1.0 MB, leaps 29 KB.

Depends (3)
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since at least 2.1.1 (2023)
main author of original code and maintainer
Author
revision of original code
Author
revision of original code
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.2Latest
    record
    2025-08-28 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.1.1
    record
    2023-10-10 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.1
    record
    2022-05-02 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 2.0
    record
    2014-11-20 · diff ↗
Show 5 earlier eventsHide 5 earlier events
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 1.2.1
    record
    2013-02-16 · diff ↗
  • 1.2
    record
    2013-01-07
  • R
    R 2.15.0 released · 2012-03-30

Package metadata

First published
2013-01-07
Total releases
6 / 13 yrs
License
GPL (>= 2) OSI
Download size
7.1 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BACprior")
Talbot, D., Atherton, J., & Lefebvre, G. (2025). BACprior: Choice of Omega in the BAC Algorithm (Version 2.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.BACprior

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 BACprior version 2.1.2 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, 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