bartClassifDiag {bartMan}R Documentation

bartClassifDiag

Description

Displays a selection of diagnostic plots for a BART model.

Usage

bartClassifDiag(
  model,
  data,
  response,
  threshold = "Youden",
  pNorm = FALSE,
  showInterval = TRUE,
  combineFactors = FALSE
)

Arguments

model

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

data

A dataframe

response

The name of the response for the fit.

threshold

A dashed line on some plots to indicate a chosen threshold value. by default the Youden index is shown.

pNorm

apply pnorm to the y-hat data

showInterval

LOGICAL if TRUE then show 5% and 95% quantile intervals.

combineFactors

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

Value

A selection of diagnostic plots


[Package bartMan version 0.1.1 Index]