baymedr: Computation of Bayes Factors for Common Biomedical Designs

BAYesian inference for MEDical designs in R. Functions for the computation of Bayes factors for common biomedical research designs. Implemented are functions to test the equivalence (equiv_bf), non-inferiority (infer_bf), and superiority (super_bf) of an experimental group compared to a control group on a continuous outcome measure, as well as functions for simulating survival data and calculating a Bayes factor for Cox proportional hazards models. Bayes factors for these tests can be computed based on raw data or summary statistics.

Package details

AuthorMaximilian Linde [aut, cre] (ORCID: <https://orcid.org/0000-0001-8421-090X>), Don van Ravenzwaaij [aut] (ORCID: <https://orcid.org/0000-0002-5030-4091>), Jorge N. Tendeiro [aut] (ORCID: <https://orcid.org/0000-0003-1660-3642>), Quentin F. Gronau [ctb] (ORCID: <https://orcid.org/0000-0001-5510-6943>)
MaintainerMaximilian Linde <maximilian.linde.92@gmail.com>
LicenseGPL-3
Version0.2
URL https://github.com/maxlinde/baymedr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("baymedr")

Try the baymedr package in your browser

Any scripts or data that you put into this service are public.

baymedr documentation built on May 11, 2026, 5:06 p.m.