dbartsData: Discrete Bayesian Additive Regression Trees Sampler Data

Description Usage Arguments Value See Also

View source: R/data.R

Description

Convenience function to create a data object for use with a dbarts sampler.

Usage

1
dbartsData(formula, data, test, subset, weights, offset, offset.test = offset)

Arguments

formula,data,test,subset,weights,offset,offset.test

As in dbarts. Retains backwards compatibility with bart, so that formula/data can be a formula/data.frame pair, or a pair of x.train/y.train matrices/vector.

Value

An object of class dbartData.

See Also

dbarts


vdorie/dbarts documentation built on Dec. 18, 2018, 2:31 a.m.