Skip to content

bonsaiforest

0.1.1

Shrinkage Based Forest Plots

0packages depend
2.8Kdownloads / year
96.4%test coverage
13/13checks pass

Overview

About
Maintained by Isaac GravestockFirst published 2024-06-172 releasesCRAN page ↗GitHub ↗

Subgroup analyses are routinely performed in clinical trial analyses. From a methodological perspective, two key issues of subgroup analyses are multiplicity (even if only predefined subgroups are investigated) and the low sample sizes of subgroups which lead to highly variable estimates, see e.g. Yusuf et al (1991) doi:10.1001/jama.1991.03470010097038. This package implements subgroup estimates based on Bayesian shrinkage priors, see Carvalho et al (2019) https://proceedings.mlr.press/v5/carvalho09a.html. In addition, estimates based on penalized likelihood inference are available, based on Simon et al (2011) doi:10.18637/jss.v039.i05. The corresponding shrinkage based forest plots address the aforementioned issues and can complement standard forest plots in practical clinical trial analyses.

Install

Health

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

Documentation

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

Downloads

2.8K
CRAN downloads in the past year
Rank #13,969 · ~8/day · ~230/mo
Daily download trend is not available in this view yet.
27830 days
76390 days
2.8K1 year
Compare downloads with other packages →
Also on591 r2u47 autocran

Repository

Repository
3Stars
1Forks
2Open issues
2Open PRs
2Releases
85Commits
6Contributors
statistical-engineering
85 commits · Last activity 2024-11-29

Stars over time

2024-07-21 · 32026-07-07 · 3

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/insightsengineering/bonsaiforest on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
Docs source (1)
README.Rmd
Automation and maintenance (1)
pre-commit
Show all practices
Lint, format, editor (2)
lintrRStudio project
Governance and community (2)
Issue templatesCODEOWNERS
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Authors (3)
Copyright holders (1)
Copyright holder, Funder
Funders (1)
Copyright holder, Funder
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.1Latest
    2024-09-27 · current release · diff ↗
  • 0.1.0
    2024-06-17
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-06-17
Total releases
2 / 2 yrs
License
Apache License 2.0 OSI
Minimum R
≥ 4.1
Bundled data
3.4 MB / 13 files
Download size
3.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →