bartClassifDiag.RdDisplays a selection of diagnostic plots for a BART model.
bartClassifDiag( model, data, response, threshold = "Youden", pNorm = FALSE, showInterval = TRUE, combineFactors = FALSE )
| 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. |
A selection of diagnostic plots