Skip to content

forestBalance

0.1.0Package record

Balancing Confounder Distributions with Forest Energy Balancing

0packages depend
2.4Kdownloads / year
80.3%test coverage
13/13flavors OK

Overview

About

Estimates average treatment effects using kernel energy balancing with random forest similarity kernels. A multivariate random forest jointly models covariates, outcome, and treatment to build a similarity kernel between observations. This kernel is then used for energy balancing to create weights that control for confounding. The method is described in De and Huling (2025) doi:10.48550/arXiv.2512.18069.

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-04-22
  • ERROR12 OK, 1 ERROR2026-04-18
  • OK6 OK2026-04-08
Advisories

none known

Documentation

In release 0.1.0
README· In the repository, left out of the releaseVignettesYes · 4 · staticNEWS· In the repository, left out of the releaseCitation fileNo
Help pages
11includes a package overview page
Examples that run
11%1 run in a plain check · 8 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
27%

Downloads

2.4K
CRAN downloads in the past year
Rank #13,024 · ~7/day · ~201/mo
Daily download trend is not available in this view yet.
34030 days
87590 days
2.4K1 year
Compare downloads with other packages →
Also on149 r2u1 autocran

Repository

0Stars
1Forks
0Open issues
1Open PRs
1Releases
56Commits
1Commit identities
56 commits · Last activity 2026-09-18 · Default branch at 0.1.3, ahead of CRAN 0.1.0 (checked 2026-10-18)
Responsiveness
not measured

Forks over time

2026-07-07 · 02026-09-28 · 1
PracticesBeta

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

Checks run against github.com/jaredhuling/forestbalance on 2026-10-18.

Continuous integration (1)
GitHub Actions
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-18

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
Show all practicesHide 1 practice
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing forestBalance adds 7 packages (6 with compiled code, 6.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, sandwich 1.4 MB.

Depends (0)
none
Imports (5)
grfMASSMatrixmethodsRcpp
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2026)
Author
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-04-07 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-04-07
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Download size
320 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("forestBalance")
Huling, J., & De, S. (2026). forestBalance: Balancing Confounder Distributions with Forest Energy Balancing (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.forestBalance

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

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