Package: flexBART 2.0.6

Sameer K. Deshpande

flexBART: A More Flexible BART Model

Implements a faster and more expressive version of Bayesian Additive Regression Trees that, at a high level, approximates unknown functions as a weighted sum of binary regression tree ensembles. Supports fitting (generalized) linear varying coefficient models that posits a linear relationship between the inverse link and some covariates but allows that relationship to change as a function of other covariates. Additionally supports fitting heteroscedastic BART models, in which both the mean and log-variance are approximated with separate regression tree ensembles. A formula interface allows for different splitting variables to be used in each ensemble. For more details see Deshpande (2025) <doi:10.1080/10618600.2024.2431072> and Deshpande et al. (2026) <doi:10.1214/24-BA1470>.

Authors:Sameer K. Deshpande [aut, cre], George Perrett [aut], Ryan Yee [aut], Cecilia Balocchi [aut], Jennifer Hill [aut]

flexBART_2.0.6.tar.gz
flexBART_2.0.6.zip(r-4.7-x86_64)flexBART_2.0.6.zip(r-4.7-arm64)flexBART_2.0.6.zip(r-4.6-x86_64)flexBART_2.0.6.zip(r-4.6-arm64)
flexBART_2.0.6.tar.gz(r-4.7-arm64)flexBART_2.0.6.tar.gz(r-4.7-x86_64)flexBART_2.0.6.tar.gz(r-4.6-arm64)flexBART_2.0.6.tar.gz(r-4.6-x86_64)
flexBART_2.0.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
flexBART/json (API)

# Install 'flexBART' in R:
install.packages('flexBART', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/skdeshpande91/flexbart/issues

Pkgdown/docs site:https://skdeshpande91.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

1.30 score 9 scripts 498 downloads 3 exports 11 dependencies

Last updated from:424c3d7172. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK216
linux-devel-x86_64OK255
source / vignettesOK287
linux-release-arm64OK227
linux-release-x86_64OK296
windows-devel-arm64OK478
windows-devel-x86_64OK217
windows-release-arm64OK365
windows-release-x86_64OK256
wasm-releaseOK212

Exports:flexBARTpredict.flexBARTrflexBART

Dependencies:codetoolsforeachglmnetiteratorslatticeMatrixRcppRcppArmadilloRcppEigenshapesurvival