Skip to content

baymedr

0.2Package record

Computation of Bayes Factors for Common Biomedical Designs

0packages depend
4.1Kdownloads / year
58.5%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.2
  • Added functionality for simulating data for Cox regression; coxph_data_sim().
  • Added functionality for computing Bayes factor for Cox regression; coxph_bf().

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2
READMEYes · 156 wordsVignettesNoNEWSYes · 67% structured · mentions 0.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
8includes a package overview page
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
63%

Downloads

4.1K
CRAN downloads in the past year
Rank #7,799 · ~11/day · ~340/mo
Daily download trend is not available in this view yet.
38030 days
1.2K90 days
4.1K1 year
Compare downloads with other packages →
Also on103 r2u18 autocran

Repository

8Stars
0Forks
0Open issues
0Open PRs
3Releases
366Commits
1Commit identities
License file reads as GPL-3.0 · 366 commits · Last activity 2026-05-04 · 0% stars, 30d
Responsiveness
not measured

Stars over time

2025-06-11 · 82026-07-07 · 8
PracticesBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/maxlinde/baymedr on 2026-10-21.

Docs source (1)
README.Rmd
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing baymedr adds 65 packages (32 with compiled code, 67 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, ggplot2 6.0 MB.

Depends (1)
R >= 3.4.0
Imports (9)
doParallelforeachmethodsparallelpsormsstatsstringrsurvival
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (4)
Author, Maintainer since 0.1.0 (2019)
Author · added in 0.2
Contributor
Releases (3)

Pick two releases to compare their code metrics.

  • 0.2Latest
    record
    2026-05-11 · current release · diff ↗ ·
    added 2 exports
    coxph_bf, coxph_data_sim
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.1
    record
    2021-03-28 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    record
    2019-10-21
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-10-21
Total releases
3 / 7 yrs
License
GPL-3 OSI
Minimum R
≥ 3.4.0
Download size
29 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("baymedr")
Linde, M., Gronau, Q. F., Tendeiro, J. N., & van Ravenzwaaij, D. (2026). baymedr: Computation of Bayes Factors for Common Biomedical Designs (Version 0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.baymedr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 baymedr version 0.2 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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