Skip to content

VCBART

Fit Varying Coefficient Models with Bayesian Additive Regression Trees

v1.2.5 · Apr 20, 2026 · GPL (>= 3)

Description

Fits linear varying coefficient (VC) models, which assert a linear relationship between an outcome and several covariates but allow that relationship (i.e., the coefficients or slopes in the linear regression) to change as functions of additional variables known as effect modifiers, by approximating the coefficient functions with Bayesian Additive Regression Trees. Implements a Metropolis-within-Gibbs sampler to simulate draws from the posterior over coefficient function evaluations. VC models with independent observations or repeated observations can be fit. For more details see Deshpande et al. (2026) <doi:10.1214/24-BA1470>.

Downloads

CRAN

424

Last 30 days

9454th

1.2K

Last 90 days

1.7K

Last year

Trend: -12% (30d vs prior 30d)

r2u CRAN

41

Last 30 days

123

Last 90 days

209

Last year

Trend: -24.1% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/VCBART.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.4Mb
  sub-directories of 1Mb or more:
    libs   6.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.5Mb
  sub-directories of 1Mb or more:
    libs   6.4Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.4Mb
  sub-directories of 1Mb or more:
    libs   6.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.5Mb
  sub-directories of 1Mb or more:
    libs   6.4Mb

Dependency Network

Dependencies Reverse dependencies Rcpp MASS VCBART

Version History

2 tracked
updated 1.2.5 ← 1.2.4 diff Apr 21, 2026
new 1.2.4 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Dec 9, 2025. Releases before tracking aren’t shown.