Skip to content

BayesPower

1.0.5

Sample Size and Power Calculation for Bayesian Testing with Bayes Factor

0packages depend
3.9Kdownloads / year
34.6%test coverage
13/13checks pass

Overview

About
Maintained by Tsz Keung WongFirst published 2025-10-295 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 7.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.40
34.6%
Coverage · measured lines
100%
Documentation · exports
17
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

3.9K
CRAN downloads in the past year
Rank #5,977 · ~11/day · ~321/mo
Daily download trend is not available in this view yet.
29930 days
1.3K90 days
3.9K1 year
Compare downloads with other packages →
Also on380 r2u56 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
0Releases
101Commits
3Contributors
101 commits · Last activity 2026-06-29 · 0% stars, 30d

Stars over time

2026-02-11 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

Checks run against github.com/tkwong3004/bayespower on 2026-08-16.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 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 ↗
  • 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
Installed size
not tracked yet
With dependencies
not tracked yet

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-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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