bartRegrDiag function

bartRegrDiag

bartRegrDiag

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.

Returns

A selection of diagnostic plots

  • Maintainer: Alan Inglis
  • License: GPL (>= 2)
  • Last published: 2024-07-24

Useful links