Skip to content

ShrinkageTrees

2.0.2

Bayesian Tree Ensembles for Survival Analysis and Causal Inference

0packages depend
5.7Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Tijn JacobsFirst published 2025-07-214 releasesCRAN page ↗GitHub ↗

Bayesian regression tree ensembles for survival analysis and causal inference. Implements BART, DART, Bayesian Causal Forests (BCF), and Horseshoe Forest models. Supports right-censored and interval-censored survival outcomes via accelerated failure time (AFT) formulations. Designed for high-dimensional prediction and heterogeneous treatment effect estimation.

Install

Health

CRAN checks
13OK
Code health
Yes
Tests · ratio 0.43
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
Yes
README
2
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

5.7K
CRAN downloads in the past year
Rank #9,275 · ~16/day · ~477/mo
ShrinkageTrees
Daily download trend is not available in this view yet.
Compare downloads with other packages →
46030 days
1.2K90 days
5.7K1 year
Also on420 r2u15 autocran
Source & community
GitHub ↗

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (2)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code

23,414Lines of code
9Exported functions

Line coverage

Expression

Tests / Examples

Functions

297 9 exported

Complexity

11.2 avg / 112 max

Call network

297 nodes / 291 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Maintainer
Release timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.2Latest
    2026-04-22 · current release
  • 1.2.0
    2026-02-26 · diff ↗
  • 1.0.2
    2025-10-06 · diff ↗
  • 1.0.0
    2025-07-21

Package metadata

First published
2025-07-21
Total releases
4 / 1 yrs
License
MIT + file LICENSE OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet