Fit Bayesian Additive Regression Trees (BART) models to select confounders and estimate treatment effect.
You can install from CRAN with:
install.packages("bartcs")
Or you can install the development version from GitHub with:
::install_github("yooyh/bartcs") remotes
bartcs supports multi-threading by OpenMP. If you
then install package from source with:
# build from source
install.packages("bartcs", type = "source")
# count OpemMP thread
::count_omp_thread() # this should be greater than 1 bartcs