Disclaimer
This is an experimental package that has not yet been fully tested. Therefore, I do not recommend using it for production code or critical analyses.
Installation
You can install the development version of rctbayespower from GitHub:
# install.packages("devtools")
devtools::install_github("matthiaskloft/rctbayespower")Overview
rctbayespower provides tools for conducting Bayesian power analysis for randomized controlled trials (RCTs) using brms and Stan.
Ressources
The best way to get started is to visit the package website and the introductory vignette:
-
Vignettes:
Introduction: Basic usage and concepts
Prior Specifications: Working with priors
Algorithm Performance: Performance optimization
Model Validation: Validation of implemented predefined models