Package: flexBART 2.0.5

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:
flexBART_2.0.5.tar.gz
flexBART_2.0.5.zip(r-4.7)flexBART_2.0.5.zip(r-4.6)flexBART_2.0.5.zip(r-4.5)
flexBART_2.0.5.tgz(r-4.6-x86_64)flexBART_2.0.5.tgz(r-4.6-arm64)flexBART_2.0.5.tgz(r-4.5-x86_64)flexBART_2.0.5.tgz(r-4.5-arm64)
flexBART_2.0.5.tar.gz(r-4.7-arm64)flexBART_2.0.5.tar.gz(r-4.7-x86_64)flexBART_2.0.5.tar.gz(r-4.6-arm64)flexBART_2.0.5.tar.gz(r-4.6-x86_64)
flexBART_2.0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
flexBART/json (API)
| # Install 'flexBART' in R: |
| install.packages('flexBART', repos = c('https://skdeshpande91.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/skdeshpande91/flexbart/issues
Pkgdown/docs site:https://skdeshpande91.github.io
Last updated from:67eb2ce3ff. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 310 | ||
| linux-devel-x86_64 | OK | 262 | ||
| source / vignettes | OK | 309 | ||
| linux-release-arm64 | OK | 278 | ||
| linux-release-x86_64 | OK | 263 | ||
| macos-release-arm64 | OK | 244 | ||
| macos-release-x86_64 | OK | 773 | ||
| macos-oldrel-arm64 | OK | 419 | ||
| macos-oldrel-x86_64 | OK | 305 | ||
| windows-devel | OK | 345 | ||
| windows-release | OK | 337 | ||
| windows-oldrel | OK | 329 | ||
| wasm-release | OK | 244 |
Exports:flexBARTpredict.flexBARTrflexBART
Dependencies:codetoolsforeachglmnetiteratorslatticeMatrixRcppRcppArmadilloRcppEigenshapesurvival
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| A more flexible BART | flexBART |
| Predicting new observations with previously fitted flexBART model | predict.flexBART |
| Draw samples from the regression tree prior | rflexBART |