Power and Sample Size Calculations for Bayes Factor Analysis
Overview
Implements z-test, t-test, and normal moment prior Bayes factors based on summary statistics, along with functionality to perform corresponding power and sample size calculations as described in Pawel and Held (2025) doi:10.1080/00031305.2025.2467919.
- fixed a bug in
ptbf01when adaptively determining the search range
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-30
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-03-28
- OK14 OK2026-03-10
Documentation
- Help pages
- 18
- Examples that run
- 100%18 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 11%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
PRs over time
2 development-tooling and community-health practices detected across 1 family in the upstream repository
Checks run against github.com/samch93/bfpwr on 2026-10-18.
Dependencies
Installing bfpwr adds 3 packages (3 with compiled code, 2.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppParallel 744 KB, lamW 17 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.6Latest
- 0.1.5
- RR 4.5.0 released · 2025-04-11
- 0.1.32024-10-28
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-10-28
- Total releases
- 3 / 2 yrs
- License
- GPL-3 OSI
- Download size
- 313 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("bfpwr")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1080/00031305.2025.2467919.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.