Discrete Bayesian Additive Regression Trees Sampler

Fits Bayesian additive regression trees (BART; Chipman, George, and McCulloch (2010) ) while allowing the updating of predictors or response so that BART can be incorporated as a conditional model in a Gibbs/Metropolis-Hastings sampler. Also serves as a drop-in replacement for package 'BayesTree'.


Discrete Bayesian Additive Regression Trees Sampler

A package for R, with C/C++.

Pre-built binaries of the package are available on http://cran.r-project.org/web/packages/dbarts/index.html. These can be installed from within R using the typical install.packages() mechanism.

Steps to install from source:

  1. Install development tools for your operating system:

  2. Linux/Unix should already have this installed

  3. OS X:

    1. Xcode (https://developer.apple.com/xcode/downloads/)
    2. gfortran (https://gcc.gnu.org/wiki/GFortranBinaries#MacOS)
  4. Windows: Rtools (http://cran.r-project.org/bin/windows/Rtools/)

  5. Install the devtools package from within R:

install.packages("devtools")
  1. Run:
install_github("vdorie/dbarts")

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dbarts")

0.9-18 by Vincent Dorie, 4 months ago


https://github.com/vdorie/dbarts


Report a bug at https://github.com/vdorie/dbarts/issues


Browse source code at https://github.com/cran/dbarts


Authors: Vincent Dorie [aut, cre] , Hugh Chipman [aut] , Robert McCulloch [aut] , Armon Dadgar [ctb] (adaptive radix tree) , R Core Team [ctb] (basis of RNG) , Guido U Draheim [ctb] (ax_check_compile_flag.m4) , Maarten Bosmans [ctb] (ax_check_compile_flag.m4) , Christophe Tournayre [ctb] (ax_compiler_ext.m4 , ax_ext.m4) , Michael Petch [ctb] (ax_compiler_ext.m4 , ax_ext.m4 , ax_gcc_x86_avx_xgetbv.m4 , ax_gcc_x86_cpuid.m4) , Rafael de Lucena Valle [ctb] (ax_compiler_ext.m4 , ax_ext.m4) , Steven G. Johnson [ctb] (ax_compiler_vendor.m4 , ax_gcc_x86_cpuid.m4 , ax_pthread.m4 , , Matteo Frigo [ctb] (ax_compiler_vendor.m4 , ax_gcc_x86_cpuid.m4) , John Zaitseff [ctb] (ax_compiler_vendor.m4) , Todd Veldhuizen [ctb] (ax_cxx_namespace_std.m4) , Luc Maisonobe [ctb] (ax_cxx_namespace_std.m4) , Scott Pakin [ctb] (ax_func_posix_memalign.m4 , , Daniel Richard G. [ctb] (ax_pthread.m4)


Documentation:   PDF Manual  


Task views:


GPL (>= 2) license


Imports stats, methods, graphics, parallel

Suggests testthat


Imported by CIMTx, bartCause.

Suggested by tmle.


See at CRAN