Displays a selection of diagnostic plots for a BART model.

bartRegrDiag(model, response, burnIn = 0, data, combineFactors = FALSE)

Arguments

model

a model created from either the BART, modelarts, or bartMachine package.

response

The name of the response for the fit.

burnIn

Trace plot will only show iterations above selected burn in value.

data

A dataframe used to build the model.

combineFactors

Whether or not to combine dummy variables (if present) in display.

Value

A selection of diagnostic plots