Displays a selection of diagnostic plots for a BART model.
bartClassifDiag(
model,
data,
response,
threshold = "Youden",
pNorm = FALSE,
showInterval = TRUE,
combineFactors = FALSE
)
A selection of diagnostic plots
a model created from either the BART, dbarts, or bartMachine package.
A dataframe
The name of the response for the fit.
A dashed line on some plots to indicate a chosen threshold value. by default the Youden index is shown.
apply pnorm to the y-hat data
LOGICAL if TRUE then show 5% and 95% quantile intervals.
Whether or not to combine dummy variables (if present) in display.