pbart2: Convenience wrapper for pbart from the BART package.

Description Usage Arguments Value

Description

Convenience wrapper for pbart from the BART package.

Usage

1
2
pbart2(x.train, y.train, x.test = NULL, mc.cores = 1, ndpost = 1000,
  keeptrainfits = FALSE, verbose = FALSE, ...)

Arguments

x.train

Data frame containing the X variables for the training data

y.train

Vector containing the Y variable for the training data

x.test

Xata frame containing the X variables for the test data

mc.cores

Number of cores to use

ndpost

Number of posterior samples to draw

keeptrainfits

Keep samples for training data?

verbose

Show pbart progress messages?

...

Additional BART parameters passed to pbart

Value

Returns a pbart object


awmercer/bestimate documentation built on May 22, 2019, 8:50 p.m.