Skip to content

BayesPower

1.0.5Package record

Sample Size and Power Calculation for Bayesian Testing with Bayes Factor

0packages depend
4.8Kdownloads / year
34.6%test coverage
13/13flavors OK

Overview

About

The goal of 'BayesPower' is to provide tools for Bayesian sample size determination and power analysis across a range of common hypothesis testing scenarios using Bayes factors. The main function, BayesPower_BayesFactor(), launches an interactive 'shiny' application for performing these analyses. The application also provides command-line code for reproducibility. Details of the methods are described in the tutorial by Wong, Pawel, and Tendeiro (2025) doi:10.31234/osf.io/pgdac_v3.

Changes in 1.0.5
  • Improved the consistency between the documentation and their corresponding exported functions.
  • Improved input validation in the Shiny app. For example, invalid sample-size inputs such as zero or negative values are now automatically adjusted to the smallest allowed value.
  • Shiny app can be opened via "Addins" in the main tool bar for Rstudio users.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

Documentation signals are not tracked yet for this package.

Websitenot tracked

Downloads

4.8K
CRAN downloads in the past year
Rank #6,846 · ~13/day · ~401/mo
BayesPower
Daily download trend is not available in this view yet.
50330 days
1.2K90 days
4.8K1 year
Compare downloads with other packages →
Also on414 r2u52 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
102Commits
3Commit identities
102 commits · Last activity 2026-09-03 · 0% stars, 30d
Responsiveness
How these are sampled
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
0
PracticesBeta

Checks run against github.com/tkwong3004/bayespower on 2026-10-11.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing BayesPower adds 74 packages (39 with compiled code, 83 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.

Depends (0)
none
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 1.0.1 (2025)
Releases (5)
  • 1.0.5Latest
    2026-06-29 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.4
    2026-04-13 · diff ↗
  • 1.0.3
    2026-03-16 · diff ↗
  • 1.0.2
    2026-02-12 · diff ↗ ·
    removed 5 exports
    BF10.t.test.one_sample, BF10.t.test.two_sample, BFpower.f, BFpower.t.test_one_sample, BFpower.t.test_two_sample
    added 5 exports
    BF10.ttest.OneSample, BF10.ttest.TwoSample, BFpower.f.test, BFpower.ttest.OneSample, BFpower.ttest.TwoSample
  • 1.0.1
    2025-10-29
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-10-29
Total releases
5 / 1 yrs
License
GPL (>= 3) OSI
Download size
120 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BayesPower")
Wong, T. K., Pawel, S., & Tendeiro, J. (2026). BayesPower: Sample Size and Power Calculation for Bayesian Testing with Bayes Factor (Version 1.0.5) [Computer software]. https://doi.org/10.32614/CRAN.package.BayesPower

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 BayesPower version 1.0.5 [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