Skip to content

BayesPower

Sample Size and Power Calculation for Bayesian Testing with Bayes Factor

v1.0.5 · Jun 29, 2026 · GPL (>= 3)

Description

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>.

Downloads

CRAN

507

Last 30 days

7352nd

1.7K

Last 90 days

3.2K

Last year

Trend: -9.1% (30d vs prior 30d)

r2u CRAN

42

Last 30 days

150

Last 90 days

315

Last year

Trend: -33.3% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs   2.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R      3.0Mb
    libs   2.0Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/BayesPower.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs   2.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R      3.0Mb
    libs   2.0Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R      3.0Mb
    libs   2.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R      3.0Mb
    libs   2.0Mb

Dependency Network

Dependencies Reverse dependencies rlang shiny gsl Rcpp ExtDist ggplot2 patchwork rmarkdown glue hypergeo rootSolve shinyWidgets tidyr scales httpuv BayesPower

Version History

6 tracked
updated 1.0.5 ← 1.0.4 diff Jun 29, 2026
updated 1.0.4 ← 1.0.3 diff Apr 13, 2026
updated 1.0.3 ← 1.0.2 diff Mar 16, 2026
new 1.0.2 Mar 10, 2026
updated 1.0.2 ← 1.0.1 diff Feb 11, 2026
new 1.0.1 Oct 28, 2025